diff --git a/build.gradle b/build.gradle index bee9510..d3d5899 100644 --- a/build.gradle +++ b/build.gradle @@ -20,7 +20,7 @@ buildscript { 'minSdk' : 14, 'targetSdk' : 30, 'buildTools': '30.0.3', - 'androidx' : '1.6.0-beta02' + 'androidx' : '1.6.0-rc01' ] repositories { diff --git a/dynamic-utils/src/main/java/com/pranavpandey/android/dynamic/utils/DynamicIntentUtils.java b/dynamic-utils/src/main/java/com/pranavpandey/android/dynamic/utils/DynamicIntentUtils.java index 5cfcfb7..53f0f57 100644 --- a/dynamic-utils/src/main/java/com/pranavpandey/android/dynamic/utils/DynamicIntentUtils.java +++ b/dynamic-utils/src/main/java/com/pranavpandey/android/dynamic/utils/DynamicIntentUtils.java @@ -198,6 +198,8 @@ public static int addImmutableFlag(int flags) { /** * View any Intent in the available app or browser. + *
Use {@code queries} tag for {@link Intent#ACTION_VIEW} with appropriate + * {@code scheme(s)} in {@code AndroidManifest} to support API 30. * * @param context The context to retrieve the resources. * @param intent The intent to view. diff --git a/dynamic-utils/src/main/java/com/pranavpandey/android/dynamic/utils/DynamicLinkUtils.java b/dynamic-utils/src/main/java/com/pranavpandey/android/dynamic/utils/DynamicLinkUtils.java index 7f34d94..4deae8b 100644 --- a/dynamic-utils/src/main/java/com/pranavpandey/android/dynamic/utils/DynamicLinkUtils.java +++ b/dynamic-utils/src/main/java/com/pranavpandey/android/dynamic/utils/DynamicLinkUtils.java @@ -192,6 +192,8 @@ public static boolean shareApp(@NonNull Context context) { * View any URL in the available app or browser. Some URLs will automatically open in their * respective apps if installed on the device. Special treatment is applied for the * Facebook URLs to open them directly in the app. + *
Use {@code queries} tag for {@link Intent#ACTION_VIEW} with scheme + * {@code https or http} in {@code AndroidManifest} to support API 30. * * @param context The context to retrieve the resources. * @param url The web or app link to open. @@ -207,6 +209,8 @@ public static boolean viewUrl(@NonNull Context context, @NonNull String url) { /** * View app on Google Play or Android Market. + *
Use {@code queries} tag for {@link Intent#ACTION_VIEW} with scheme + * {@code https or http} in {@code AndroidManifest} to support API 30. * * @param context The context to retrieve the resources. * @param packageName Application package name to build the search query. @@ -227,6 +231,8 @@ public static boolean viewInGooglePlay(@NonNull Context context, /** * View app on Google Play or Android Market. *
Can be used for the quick feedback or rating from the user. + *
Use {@code queries} tag for {@link Intent#ACTION_VIEW} with scheme + * {@code https or http} in {@code AndroidManifest} to support API 30. * * @param context The context to retrieve the resources. * @@ -240,6 +246,8 @@ public static boolean rateApp(@NonNull Context context) { /** * View other apps of a Publisher on Google Play or Android Market. + *
Use {@code queries} tag for {@link Intent#ACTION_VIEW} with scheme + * {@code https or http} in {@code AndroidManifest} to support API 30. * * @param context The context to retrieve the resources. * @param publisher The publisher name to build the search query.