diff --git a/rms_xdk_example/android/app/src/main/AndroidManifest.xml b/rms_xdk_example/android/app/src/main/AndroidManifest.xml index 0c726ac..d579146 100644 --- a/rms_xdk_example/android/app/src/main/AndroidManifest.xml +++ b/rms_xdk_example/android/app/src/main/AndroidManifest.xml @@ -11,7 +11,7 @@ android:icon="@mipmap/ic_launcher"> + + + + + diff --git a/rms_xdk_example/android/app/src/main/java/com/rms/mobile/rms_xdk_example/DeepLinkActivity.java b/rms_xdk_example/android/app/src/main/java/com/rms/mobile/rms_xdk_example/DeepLinkActivity.java new file mode 100644 index 0000000..8864083 --- /dev/null +++ b/rms_xdk_example/android/app/src/main/java/com/rms/mobile/rms_xdk_example/DeepLinkActivity.java @@ -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(); + } + + } +} diff --git a/rms_xdk_example/ios/Podfile.lock b/rms_xdk_example/ios/Podfile.lock new file mode 100644 index 0000000..de5426c --- /dev/null +++ b/rms_xdk_example/ios/Podfile.lock @@ -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 diff --git a/rms_xdk_example/ios/Runner.xcodeproj/project.pbxproj b/rms_xdk_example/ios/Runner.xcodeproj/project.pbxproj index 2e5f1c7..ce299f6 100644 --- a/rms_xdk_example/ios/Runner.xcodeproj/project.pbxproj +++ b/rms_xdk_example/ios/Runner.xcodeproj/project.pbxproj @@ -8,6 +8,7 @@ /* Begin PBXBuildFile section */ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; + 1FBE2C422DA2CB6E405B810B /* libPods-Runner.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 13C0F9A4F4205CE1BDE25974 /* libPods-Runner.a */; }; 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; }; 97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; }; @@ -30,9 +31,12 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 13C0F9A4F4205CE1BDE25974 /* libPods-Runner.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Runner.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; + 41401282DF7CF5D565DC2E12 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; + 7352008CF5E6456EA55DC694 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; @@ -44,6 +48,7 @@ 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 9AE45540B201E62AD194E530 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -51,6 +56,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 1FBE2C422DA2CB6E405B810B /* libPods-Runner.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -74,7 +80,8 @@ 9740EEB11CF90186004384FC /* Flutter */, 97C146F01CF9000F007C117D /* Runner */, 97C146EF1CF9000F007C117D /* Products */, - CF3B75C9A7D2FA2A4C99F110 /* Frameworks */, + F7737ED2F1B532BCB74DD72E /* Pods */, + E588466C0B7FAC2FC47FF278 /* Frameworks */, ); sourceTree = ""; }; @@ -110,6 +117,25 @@ name = "Supporting Files"; sourceTree = ""; }; + E588466C0B7FAC2FC47FF278 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 13C0F9A4F4205CE1BDE25974 /* libPods-Runner.a */, + ); + name = Frameworks; + sourceTree = ""; + }; + F7737ED2F1B532BCB74DD72E /* Pods */ = { + isa = PBXGroup; + children = ( + 9AE45540B201E62AD194E530 /* Pods-Runner.debug.xcconfig */, + 7352008CF5E6456EA55DC694 /* Pods-Runner.release.xcconfig */, + 41401282DF7CF5D565DC2E12 /* Pods-Runner.profile.xcconfig */, + ); + name = Pods; + path = Pods; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -117,12 +143,15 @@ isa = PBXNativeTarget; buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; buildPhases = ( + 0134901104B5CBD053D2A569 /* [CP] Check Pods Manifest.lock */, 9740EEB61CF901F6004384FC /* Run Script */, 97C146EA1CF9000F007C117D /* Sources */, 97C146EB1CF9000F007C117D /* Frameworks */, 97C146EC1CF9000F007C117D /* Resources */, 9705A1C41CF9048500538489 /* Embed Frameworks */, 3B06AD1E1E4923F5004D2608 /* Thin Binary */, + B3F6E815C8398B7DE9A3AE2C /* [CP] Embed Pods Frameworks */, + 0745DEBDC0DAE9E7217B0398 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -180,6 +209,45 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ + 0134901104B5CBD053D2A569 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + 0745DEBDC0DAE9E7217B0398 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Copy Pods Resources"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -208,6 +276,23 @@ shellPath = /bin/sh; shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; }; + B3F6E815C8398B7DE9A3AE2C /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Embed Pods Frameworks"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ diff --git a/rms_xdk_example/ios/Runner.xcworkspace/contents.xcworkspacedata b/rms_xdk_example/ios/Runner.xcworkspace/contents.xcworkspacedata index 1d526a1..21a3cc1 100644 --- a/rms_xdk_example/ios/Runner.xcworkspace/contents.xcworkspacedata +++ b/rms_xdk_example/ios/Runner.xcworkspace/contents.xcworkspacedata @@ -4,4 +4,7 @@ + + diff --git a/rms_xdk_example/pubspec.lock b/rms_xdk_example/pubspec.lock index 7e3933a..95ba391 100644 --- a/rms_xdk_example/pubspec.lock +++ b/rms_xdk_example/pubspec.lock @@ -94,7 +94,7 @@ packages: name: rms_mobile_xdk_flutter url: "https://pub.dartlang.org" source: hosted - version: "3.29.1" + version: "3.30.0" sky_engine: dependency: transitive description: flutter diff --git a/rms_xdk_example/pubspec.yaml b/rms_xdk_example/pubspec.yaml index c2eff18..f117b64 100644 --- a/rms_xdk_example/pubspec.yaml +++ b/rms_xdk_example/pubspec.yaml @@ -28,7 +28,7 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.0 - rms_mobile_xdk_flutter: ^3.29.1 + rms_mobile_xdk_flutter: ^3.30.0 dev_dependencies: flutter_test: