[PlayStore] Enrolled first viable PlayStore Version

In order to have AA work properly also on production devices
the app needs to be installed from a trusted install source,
which is the Google PlayStore. So the app is now rolled out via
GooglePlay for Beta-Testers.
This commit is contained in:
Alexander Dörflinger
2025-04-12 14:23:30 +02:00
parent fe5563ec40
commit 05151d49fa
7 changed files with 59 additions and 28 deletions

View File

@@ -3,7 +3,7 @@
xmlns:tools="http://schemas.android.com/tools">
<uses-feature
android:name="android.hardware.camera"
android:name="android.hardware.camera.any"
android:required="false" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
@@ -21,7 +21,12 @@
android:targetSdkVersion="34" />
<uses-feature
android:name="android.software.car.templates_host"/>
android:name="android.software.car.templates_host"
android:required="false"/>
<uses-feature
android:name="android.hardware.camera.any"
android:required="false" />
<application
android:allowBackup="true"
@@ -36,7 +41,7 @@
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="AIzaSyB7C4QCJEBvS7mFa_DeIZdzqe2hddtl-vk" />
android:value="${google_maps_api_key}" />
<meta-data android:name="com.google.android.gms.car.application"
android:resource="@xml/automotive_app_desc"/>
<meta-data

View File

@@ -81,19 +81,16 @@ public class HelperGridActivity extends AppCompatActivity {
* The {@link ActivityResultLauncher} for the sign in of a firebase user.
*/
private final ActivityResultLauncher<Intent> mSignInLauncher =
registerForActivityResult(new FirebaseAuthUIActivityResultContract(), this::onSignInResult); /**
registerForActivityResult(new FirebaseAuthUIActivityResultContract(), this::onSignInResult);
/**
* The {@link ActivityResultLauncher} to ask for the NotificationPermission.
*/
private final ActivityResultLauncher<String> mRequestPermissionLauncher =
registerForActivityResult(new ActivityResultContracts.RequestPermission(), isGranted -> {
if (isGranted) {
// Permission granted, you can post notifications
mSleepTimerTile.launchHelper();
} else {
// Permission denied, handle accordingly
Toast.makeText(HelperGridActivity.this, R.string.sleep_timer_show_notifications_rationale,
if (!isGranted) {
Toast.makeText(HelperGridActivity.this, "Permission denied, cannot continue",
Toast.LENGTH_LONG).show();
requestNotificationPermission();
}
});
@@ -298,7 +295,7 @@ public class HelperGridActivity extends AppCompatActivity {
Log.w(TAG, "onSignInResult: User canceled, cannot continue");
} else {
Log.e(TAG, "onSignInResult: Login failed with errorCode ["
+ idpResponse.getError().getErrorCode() + "]");
+ idpResponse.getError().getErrorCode() + "] == " + idpResponse.getError().getMessage());
}
}
}