diff --git a/ios/GithubActionsExportOptions.plist b/ios/GithubActionsExportOptions.plist
index 59a963a0..f876b977 100644
--- a/ios/GithubActionsExportOptions.plist
+++ b/ios/GithubActionsExportOptions.plist
@@ -20,7 +20,7 @@
stripSwiftSymbols
teamID
- 96T97N56Q5
+ AABGTMBC5Q
testFlightInternalTestingOnly
uploadSymbols
diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj
index be31431e..63267b7f 100644
--- a/ios/Runner.xcodeproj/project.pbxproj
+++ b/ios/Runner.xcodeproj/project.pbxproj
@@ -369,7 +369,7 @@
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = "";
- "DEVELOPMENT_TEAM[sdk=iphoneos*]" = 96T97N56Q5;
+ "DEVELOPMENT_TEAM[sdk=iphoneos*]" = AABGTMBC5Q;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
@@ -379,7 +379,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = com.moonchain.mxc;
PRODUCT_NAME = "$(TARGET_NAME)";
- PROVISIONING_PROFILE_SPECIFIER = "MoonchainWalletProvisioningProfile";
+ PROVISIONING_PROFILE_SPECIFIER = MoonchainWalletProvisioningProfile;
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = MoonchainWalletProvisioningProfile;
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
@@ -508,7 +508,7 @@
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = "";
- "DEVELOPMENT_TEAM[sdk=iphoneos*]" = 96T97N56Q5;
+ "DEVELOPMENT_TEAM[sdk=iphoneos*]" = AABGTMBC5Q;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
@@ -539,7 +539,7 @@
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = "";
- "DEVELOPMENT_TEAM[sdk=iphoneos*]" = 96T97N56Q5;
+ "DEVELOPMENT_TEAM[sdk=iphoneos*]" = AABGTMBC5Q;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist
index 8e92b36b..a65ddb45 100644
--- a/ios/Runner/Info.plist
+++ b/ios/Runner/Info.plist
@@ -10,8 +10,6 @@
com.moonchain.mxc.minerAutoClaimTask
com.moonchain.mxc.blueberryAutoSyncTask
- FlutterDeepLinkingEnabled
-
CADisableMinimumFrameDurationOnPhone
CFBundleDevelopmentRegion
@@ -70,6 +68,8 @@
????
CFBundleVersion
$(FLUTTER_BUILD_NUMBER)
+ FlutterDeepLinkingEnabled
+
LSApplicationQueriesSchemes
tg
diff --git a/ios/Runner/Runner.entitlements b/ios/Runner/Runner.entitlements
index 75e36a14..22d4a48a 100644
--- a/ios/Runner/Runner.entitlements
+++ b/ios/Runner/Runner.entitlements
@@ -4,6 +4,10 @@
aps-environment
development
+ com.apple.developer.associated-domains
+
+ applinks:mxc1usd.com
+
com.apple.developer.networking.wifi-info
diff --git a/lib/features/common/app/app_links_use_case.dart b/lib/features/common/app/app_links_use_case.dart
index 8b8096dc..494f875a 100644
--- a/lib/features/common/app/app_links_use_case.dart
+++ b/lib/features/common/app/app_links_use_case.dart
@@ -42,15 +42,25 @@ class MoonchainAppLinksUseCase extends ReactiveUseCase {
_moonchainAppLinks.initAppLinks().then((value) {
if (value != null) {
- toNavigateWidget = _appLinksRouter.openLink(value);
+ isLoggedInWrapper(() {
+ toNavigateWidget = _appLinksRouter.openLink(value);
+ });
}
_moonchainAppLinks.linkSubscription!.onData((data) {
- toNavigateWidget = _appLinksRouter.openLink(data);
- checkNavigationFunction();
+ isLoggedInWrapper(() {
+ toNavigateWidget = _appLinksRouter.openLink(data);
+ checkNavigationFunction();
+ });
});
});
}
+ void isLoggedInWrapper(Function function) {
+ if (_authUseCase.loggedIn) {
+ function();
+ }
+ }
+
void checkNavigationFunction() {
if (!isPassCodeScreenShown && toNavigateWidget != null) {
_appLinksRouter.navigateTo(toNavigateWidget!);
diff --git a/pubspec.lock b/pubspec.lock
index 99ca52be..d45f0afd 100644
--- a/pubspec.lock
+++ b/pubspec.lock
@@ -1674,7 +1674,7 @@ packages:
source: hosted
version: "2.1.0"
yaml:
- dependency: transitive
+ dependency: "direct main"
description:
name: yaml
sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5"
diff --git a/pubspec.yaml b/pubspec.yaml
index 47ae5b7b..1a013af7 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -18,7 +18,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
-version: 3.0.0
+version: 1.0.0
environment:
sdk: ">=2.19.0 <3.0.0"