Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- Improved lesson UI with a top app bar and share action in the Start a New Project tutorial.
- Added translations for the Start a New Project lesson across supported languages.
- Removed Google Play Instant Apps integration ahead of its deprecation in December 2025.

# Version 5.0.2:

Expand Down
1 change: 0 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ dependencies {
// Google
implementation libs.material
implementation libs.play.services.ads
implementation libs.play.services.instantapps
implementation libs.review
implementation libs.app.update
implementation libs.volley
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import com.d4rk.androidtutorials.java.databinding.BottomSheetMenuBinding;
import com.d4rk.androidtutorials.java.ui.screens.settings.SettingsActivity;
import com.google.android.material.bottomsheet.BottomSheetDialogFragment;
import com.google.android.gms.instantapps.InstantApps;

public class BottomSheetMenuFragment extends BottomSheetDialogFragment {

Expand Down Expand Up @@ -57,16 +56,8 @@ public View onCreateView(@NonNull LayoutInflater inflater,
Intent sharingIntent = new Intent(Intent.ACTION_SEND);
sharingIntent.setType("text/plain");

String shareLink;
boolean isInstant = InstantApps
.getPackageManagerCompat(requireContext())
.isInstantApp();
if (isInstant) {
shareLink = "https://example.com/instant";
} else {
shareLink = "https://play.google.com/store/apps/details?id="
+ BuildConfig.APPLICATION_ID;
}
String shareLink = "https://play.google.com/store/apps/details?id="
+ BuildConfig.APPLICATION_ID;

String shareMessage = getString(R.string.share_message, shareLink);

Expand Down
2 changes: 0 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ coreKtx = "1.17.0"
material = "1.14.0-alpha04"
multidex = "2.0.1"
playServicesAds = "24.5.0"
playServicesInstantApps = "18.2.0"
codeview = "1.3.9"
hilt = "2.57.1"

Expand Down Expand Up @@ -63,7 +62,6 @@ materialratingbar-library = { module = "me.zhanghai.android.materialratingbar:li
mockito-core = { module = "org.mockito:mockito-core", version.ref = "mockitoCore" }
mockito-inline = { module = "org.mockito:mockito-inline", version.ref = "mockitoInline" }
play-services-ads = { module = "com.google.android.gms:play-services-ads", version.ref = "playServicesAds" }
play-services-instantapps = { module = "com.google.android.gms:play-services-instantapps", version.ref = "playServicesInstantApps" }
review = { module = "com.google.android.play:review", version.ref = "review" }
volley = { module = "com.android.volley:volley", version.ref = "volley" }
codeview = { module = "io.github.amrdeveloper:codeview", version.ref = "codeview" }
Expand Down