mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-04-04 06:51:45 -04:00
Display toast notifications for push messages with navigation fixes
This commit is contained in:
@@ -11,7 +11,7 @@ android {
|
||||
applicationId "com.compassconnections.app"
|
||||
minSdkVersion rootProject.ext.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
versionCode 83
|
||||
versionCode 84
|
||||
versionName "1.17.0"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
aaptOptions {
|
||||
|
||||
@@ -238,7 +238,16 @@ public class MainActivity extends BridgeActivity implements ModifiedMainActivity
|
||||
checkForUpdates();
|
||||
|
||||
Uri data = getIntent().getData();
|
||||
if (data != null) pendingDeepLink = data.toString();
|
||||
if (data != null) {
|
||||
pendingDeepLink = data.toString();
|
||||
} else {
|
||||
// Check for notification endpoint when app is opened from cold start via notification click
|
||||
String endpoint = getIntent().getStringExtra("endpoint");
|
||||
if (endpoint != null) {
|
||||
Log.i("CompassApp", "onCreate found endpoint from notification: " + endpoint);
|
||||
pendingDeepLink = endpoint;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void handleDeepLink(String url) {
|
||||
|
||||
Reference in New Issue
Block a user