From 9f92e3889c851607bbc1722b51f52ebdf09d1b34 Mon Sep 17 00:00:00 2001 From: Emre Tekin Date: Fri, 31 Dec 2021 01:46:55 +0300 Subject: [PATCH] Update README.md For more info : https://developer.android.com/training/package-visibility --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 4337bce..4af7409 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,17 @@ youTubePlayerView.play(VIDEO_ID) android:layout_height="wrap_content" app:fragment="com.example.youtubeplayerview.Sample2Fragment" /> ``` + +### Package visibility +Add the below lines of code into your AndroidManifest.xml file +``` + + + + + +``` + - If you use Proguard, you have to add your fragment class name in your `proguard-rules.pro` file ``` -keepnames class com.example.youtubeplayerview.Sample2Fragment