-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update xdk example to use version 3.30.0
- Loading branch information
hisyam
committed
Mar 30, 2021
1 parent
7bf7803
commit 21fcc9a
Showing
7 changed files
with
152 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
...dk_example/android/app/src/main/java/com/rms/mobile/rms_xdk_example/DeepLinkActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package com.rms.mobile.rms_xdk_example; | ||
|
||
import android.app.Activity; | ||
import android.content.Intent; | ||
import android.os.Bundle; | ||
|
||
public class DeepLinkActivity extends Activity { | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
|
||
if (isTaskRoot()) { | ||
// This Activity is the only Activity, so | ||
// the app wasn't running. So start the app from the | ||
// beginning (redirect to MainActivity) | ||
Intent intent = getIntent(); // Copy the Intent used to launch me | ||
// Launch the real root Activity (launch Intent) | ||
intent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT | Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK); | ||
intent.setClass(this, MainActivity.class); | ||
// I'm done now, so finish() | ||
|
||
startActivity(intent); | ||
finish(); | ||
} else { | ||
// App was already running, so just finish, which will drop the user | ||
// in to the activity that was at the top of the task stack | ||
finish(); | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
PODS: | ||
- Flutter (1.0.0) | ||
- rms_mobile_xdk_flutter (0.0.1): | ||
- Flutter | ||
|
||
DEPENDENCIES: | ||
- Flutter (from `Flutter`) | ||
- rms_mobile_xdk_flutter (from `.symlinks/plugins/rms_mobile_xdk_flutter/ios`) | ||
|
||
EXTERNAL SOURCES: | ||
Flutter: | ||
:path: Flutter | ||
rms_mobile_xdk_flutter: | ||
:path: ".symlinks/plugins/rms_mobile_xdk_flutter/ios" | ||
|
||
SPEC CHECKSUMS: | ||
Flutter: 0e3d915762c693b495b44d77113d4970485de6ec | ||
rms_mobile_xdk_flutter: 4a9b67d0ee3c7f24137a2edecf3bb3b3d3a041a9 | ||
|
||
PODFILE CHECKSUM: 8e679eca47255a8ca8067c4c67aab20e64cb974d | ||
|
||
COCOAPODS: 1.10.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
rms_xdk_example/ios/Runner.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters