Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions android/src/main/res/xml/rn_adapty_backup_rules.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<full-backup-content>
<!-- Exclude Adapty data (from adapty android-sdk) -->
<exclude domain="sharedpref" path="AdaptySDKPrefs.xml"/>

<!-- Exclude SecureStore data (from expo-secure-store) -->
<exclude domain="sharedpref" path="SecureStore"/>

<!-- Exclude AppsFlyer data -->
<exclude domain="sharedpref" path="appsflyer-data"/>
</full-backup-content>

21 changes: 21 additions & 0 deletions android/src/main/res/xml/rn_adapty_data_extraction_rules.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<data-extraction-rules>
<cloud-backup>
<!-- Exclude Adapty data (from adapty android-sdk) -->
<exclude domain="sharedpref" path="AdaptySDKPrefs.xml"/>
<!-- Exclude SecureStore data (from expo-secure-store) -->
<exclude domain="sharedpref" path="SecureStore"/>
<!-- Exclude AppsFlyer data -->
<exclude domain="sharedpref" path="appsflyer-data"/>
</cloud-backup>

<device-transfer>
<!-- Exclude Adapty data (from adapty android-sdk) -->
<exclude domain="sharedpref" path="AdaptySDKPrefs.xml"/>
<!-- Exclude SecureStore data (from expo-secure-store) -->
<exclude domain="sharedpref" path="SecureStore"/>
<!-- Exclude AppsFlyer data -->
<exclude domain="sharedpref" path="appsflyer-data"/>
</device-transfer>
</data-extraction-rules>

2 changes: 2 additions & 0 deletions app.plugin.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
module.exports = require('./plugin/with-adapty');

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
Expand All @@ -11,7 +11,7 @@
<data android:scheme="https"/>
</intent>
</queries>
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="true" android:theme="@style/AppTheme" android:supportsRtl="true" android:enableOnBackInvokedCallback="false">
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="true" android:theme="@style/AppTheme" android:supportsRtl="true" android:enableOnBackInvokedCallback="false" tools:replace="android:fullBackupContent,android:dataExtractionRules" android:dataExtractionRules="@xml/rn_adapty_data_extraction_rules" android:fullBackupContent="@xml/rn_adapty_backup_rules">
<meta-data android:name="expo.modules.updates.ENABLED" android:value="false"/>
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH" android:value="ALWAYS"/>
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS" android:value="0"/>
Expand Down
17 changes: 16 additions & 1 deletion examples/FocusJournalExpo/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,21 @@
},
"web": {
"favicon": "./assets/favicon.png"
}
},
"plugins": [
[
"expo-secure-store",
{
"configureAndroidBackup": false
}
],
[
"react-native-adapty",
{
"replaceAndroidBackupConfig": true
}
],
"react-native-appsflyer"
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
objects = {

/* Begin PBXBuildFile section */
1026C66E5ADB30271DFE69BC /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = ECC2CAAEDA44B4A69FB01F7F /* PrivacyInfo.xcprivacy */; };
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
37263E026593CE4025A62D65 /* ExpoModulesProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 87164310CDAC452564AAD433 /* ExpoModulesProvider.swift */; };
3E461D99554A48A4959DE609 /* SplashScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = AA286B85B6C04FC6940260E9 /* SplashScreen.storyboard */; };
4B4FBA759B36FD4B6885B122 /* ExpoModulesProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = C3B5E1BE407740700F8BC24C /* ExpoModulesProvider.swift */; };
601D433E05AF6C74BDD1A9EB /* libPods-FocusJournalExpo.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3D65AD488610E4E536E85437 /* libPods-FocusJournalExpo.a */; };
5E9C943DE0AD99FDFC7ECAD4 /* libPods-FocusJournalExpo.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D7D83F4F580D6775D0C7B338 /* libPods-FocusJournalExpo.a */; };
870D1FDCB4BCEBC52F73AE68 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = BFE315254771B10130543045 /* PrivacyInfo.xcprivacy */; };
BB2F792D24A3F905000567C9 /* Expo.plist in Resources */ = {isa = PBXBuildFile; fileRef = BB2F792C24A3F905000567C9 /* Expo.plist */; };
F11748422D0307B40044C1D9 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = F11748412D0307B40044C1D9 /* AppDelegate.swift */; };
/* End PBXBuildFile section */
Expand All @@ -20,24 +20,24 @@
13B07F961A680F5B00A75B9A /* FocusJournalExpo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FocusJournalExpo.app; sourceTree = BUILT_PRODUCTS_DIR; };
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = FocusJournalExpo/Images.xcassets; sourceTree = "<group>"; };
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = FocusJournalExpo/Info.plist; sourceTree = "<group>"; };
13E42A537A21FDD8CACB69A9 /* Pods-FocusJournalExpo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FocusJournalExpo.debug.xcconfig"; path = "Target Support Files/Pods-FocusJournalExpo/Pods-FocusJournalExpo.debug.xcconfig"; sourceTree = "<group>"; };
3D65AD488610E4E536E85437 /* libPods-FocusJournalExpo.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-FocusJournalExpo.a"; sourceTree = BUILT_PRODUCTS_DIR; };
87164310CDAC452564AAD433 /* ExpoModulesProvider.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExpoModulesProvider.swift; path = "Pods/Target Support Files/Pods-FocusJournalExpo/ExpoModulesProvider.swift"; sourceTree = "<group>"; };
AA286B85B6C04FC6940260E9 /* SplashScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = SplashScreen.storyboard; path = FocusJournalExpo/SplashScreen.storyboard; sourceTree = "<group>"; };
B6B7926984B5969215F73DD3 /* Pods-FocusJournalExpo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FocusJournalExpo.release.xcconfig"; path = "Target Support Files/Pods-FocusJournalExpo/Pods-FocusJournalExpo.release.xcconfig"; sourceTree = "<group>"; };
BB2F792C24A3F905000567C9 /* Expo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Expo.plist; sourceTree = "<group>"; };
C3B5E1BE407740700F8BC24C /* ExpoModulesProvider.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExpoModulesProvider.swift; path = "Pods/Target Support Files/Pods-FocusJournalExpo/ExpoModulesProvider.swift"; sourceTree = "<group>"; };
ECC2CAAEDA44B4A69FB01F7F /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; name = PrivacyInfo.xcprivacy; path = FocusJournalExpo/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
BFE315254771B10130543045 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; name = PrivacyInfo.xcprivacy; path = FocusJournalExpo/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
D7D83F4F580D6775D0C7B338 /* libPods-FocusJournalExpo.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-FocusJournalExpo.a"; sourceTree = BUILT_PRODUCTS_DIR; };
E30A05CDBB8554035B7E5F64 /* Pods-FocusJournalExpo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FocusJournalExpo.release.xcconfig"; path = "Target Support Files/Pods-FocusJournalExpo/Pods-FocusJournalExpo.release.xcconfig"; sourceTree = "<group>"; };
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
F11748412D0307B40044C1D9 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = FocusJournalExpo/AppDelegate.swift; sourceTree = "<group>"; };
F11748442D0722820044C1D9 /* FocusJournalExpo-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "FocusJournalExpo-Bridging-Header.h"; path = "FocusJournalExpo/FocusJournalExpo-Bridging-Header.h"; sourceTree = "<group>"; };
FE77F9D72ED31456454B9635 /* Pods-FocusJournalExpo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FocusJournalExpo.debug.xcconfig"; path = "Target Support Files/Pods-FocusJournalExpo/Pods-FocusJournalExpo.debug.xcconfig"; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
601D433E05AF6C74BDD1A9EB /* libPods-FocusJournalExpo.a in Frameworks */,
5E9C943DE0AD99FDFC7ECAD4 /* libPods-FocusJournalExpo.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -53,28 +53,26 @@
13B07FB51A68108700A75B9A /* Images.xcassets */,
13B07FB61A68108700A75B9A /* Info.plist */,
AA286B85B6C04FC6940260E9 /* SplashScreen.storyboard */,
ECC2CAAEDA44B4A69FB01F7F /* PrivacyInfo.xcprivacy */,
BFE315254771B10130543045 /* PrivacyInfo.xcprivacy */,
);
name = FocusJournalExpo;
sourceTree = "<group>";
};
2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
296F61F4138E3BC58B5E5052 /* FocusJournalExpo */ = {
isa = PBXGroup;
children = (
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
3D65AD488610E4E536E85437 /* libPods-FocusJournalExpo.a */,
87164310CDAC452564AAD433 /* ExpoModulesProvider.swift */,
);
name = Frameworks;
name = FocusJournalExpo;
sourceTree = "<group>";
};
5BB1C164F34BE9A01E4D7021 /* Pods */ = {
2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
isa = PBXGroup;
children = (
13E42A537A21FDD8CACB69A9 /* Pods-FocusJournalExpo.debug.xcconfig */,
B6B7926984B5969215F73DD3 /* Pods-FocusJournalExpo.release.xcconfig */,
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
D7D83F4F580D6775D0C7B338 /* libPods-FocusJournalExpo.a */,
);
name = Pods;
path = Pods;
name = Frameworks;
sourceTree = "<group>";
};
832341AE1AAA6A7D00B99B32 /* Libraries */ = {
Expand All @@ -91,8 +89,8 @@
832341AE1AAA6A7D00B99B32 /* Libraries */,
83CBBA001A601CBA00E9B192 /* Products */,
2D16E6871FA4F8E400B85C8A /* Frameworks */,
5BB1C164F34BE9A01E4D7021 /* Pods */,
F518F0E86721EDEE28D255CD /* ExpoModulesProviders */,
C0E8AB9011F44F5D697259FC /* Pods */,
91BF2F0ACF43F4CBFF3EB859 /* ExpoModulesProviders */,
);
indentWidth = 2;
sourceTree = "<group>";
Expand All @@ -107,12 +105,12 @@
name = Products;
sourceTree = "<group>";
};
A4F02485BDD93B46B952B0B5 /* FocusJournalExpo */ = {
91BF2F0ACF43F4CBFF3EB859 /* ExpoModulesProviders */ = {
isa = PBXGroup;
children = (
C3B5E1BE407740700F8BC24C /* ExpoModulesProvider.swift */,
296F61F4138E3BC58B5E5052 /* FocusJournalExpo */,
);
name = FocusJournalExpo;
name = ExpoModulesProviders;
sourceTree = "<group>";
};
BB2F792B24A3F905000567C9 /* Supporting */ = {
Expand All @@ -124,12 +122,14 @@
path = FocusJournalExpo/Supporting;
sourceTree = "<group>";
};
F518F0E86721EDEE28D255CD /* ExpoModulesProviders */ = {
C0E8AB9011F44F5D697259FC /* Pods */ = {
isa = PBXGroup;
children = (
A4F02485BDD93B46B952B0B5 /* FocusJournalExpo */,
FE77F9D72ED31456454B9635 /* Pods-FocusJournalExpo.debug.xcconfig */,
E30A05CDBB8554035B7E5F64 /* Pods-FocusJournalExpo.release.xcconfig */,
);
name = ExpoModulesProviders;
name = Pods;
path = Pods;
sourceTree = "<group>";
};
/* End PBXGroup section */
Expand All @@ -140,13 +140,13 @@
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "FocusJournalExpo" */;
buildPhases = (
08A4A3CD28434E44B6B9DE2E /* [CP] Check Pods Manifest.lock */,
C7CFB96AEB616B83754A40ED /* [Expo] Configure project */,
C5F097CD97C9D451988FEFF7 /* [Expo] Configure project */,
13B07F871A680F5B00A75B9A /* Sources */,
13B07F8C1A680F5B00A75B9A /* Frameworks */,
13B07F8E1A680F5B00A75B9A /* Resources */,
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
800E24972A6A228C8D4807E9 /* [CP] Copy Pods Resources */,
9B6E44BF27069E487B909B6B /* [CP] Embed Pods Frameworks */,
FCD270B47FCE76DC2FE16D5C /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand Down Expand Up @@ -196,7 +196,7 @@
BB2F792D24A3F905000567C9 /* Expo.plist in Resources */,
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
3E461D99554A48A4959DE609 /* SplashScreen.storyboard in Resources */,
1026C66E5ADB30271DFE69BC /* PrivacyInfo.xcprivacy in Resources */,
870D1FDCB4BCEBC52F73AE68 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -251,6 +251,7 @@
"${PODS_ROOT}/Target Support Files/Pods-FocusJournalExpo/Pods-FocusJournalExpo-resources.sh",
"${PODS_CONFIGURATION_BUILD_DIR}/Adapty/Adapty.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/AdaptyUI/AdaptyUI.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/AppsFlyerFramework/AppsFlyerLib_Privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/EXConstants/EXConstants.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/EXConstants/ExpoConstants_privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/ExpoFileSystem/ExpoFileSystem_privacy.bundle",
Expand All @@ -263,6 +264,7 @@
outputPaths = (
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Adapty.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AdaptyUI.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AppsFlyerLib_Privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/EXConstants.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ExpoConstants_privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ExpoFileSystem_privacy.bundle",
Expand All @@ -276,29 +278,7 @@
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-FocusJournalExpo/Pods-FocusJournalExpo-resources.sh\"\n";
showEnvVarsInLog = 0;
};
9B6E44BF27069E487B909B6B /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-FocusJournalExpo/Pods-FocusJournalExpo-frameworks.sh",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/React-Core-prebuilt/React.framework/React",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/ReactNativeDependencies/ReactNativeDependencies.framework/ReactNativeDependencies",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/Pre-built/hermes.framework/hermes",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/React.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ReactNativeDependencies.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermes.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-FocusJournalExpo/Pods-FocusJournalExpo-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
C7CFB96AEB616B83754A40ED /* [Expo] Configure project */ = {
C5F097CD97C9D451988FEFF7 /* [Expo] Configure project */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
Expand All @@ -322,6 +302,28 @@
shellPath = /bin/sh;
shellScript = "# This script configures Expo modules and generates the modules provider file.\nbash -l -c \"./Pods/Target\\ Support\\ Files/Pods-FocusJournalExpo/expo-configure-project.sh\"\n";
};
FCD270B47FCE76DC2FE16D5C /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-FocusJournalExpo/Pods-FocusJournalExpo-frameworks.sh",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/React-Core-prebuilt/React.framework/React",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/ReactNativeDependencies/ReactNativeDependencies.framework/ReactNativeDependencies",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/Pre-built/hermes.framework/hermes",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/React.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ReactNativeDependencies.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermes.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-FocusJournalExpo/Pods-FocusJournalExpo-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand All @@ -330,7 +332,7 @@
buildActionMask = 2147483647;
files = (
F11748422D0307B40044C1D9 /* AppDelegate.swift in Sources */,
4B4FBA759B36FD4B6885B122 /* ExpoModulesProvider.swift in Sources */,
37263E026593CE4025A62D65 /* ExpoModulesProvider.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -339,7 +341,7 @@
/* Begin XCBuildConfiguration section */
13B07F941A680F5B00A75B9A /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 13E42A537A21FDD8CACB69A9 /* Pods-FocusJournalExpo.debug.xcconfig */;
baseConfigurationReference = FE77F9D72ED31456454B9635 /* Pods-FocusJournalExpo.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
Expand Down Expand Up @@ -375,7 +377,7 @@
};
13B07F951A680F5B00A75B9A /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = B6B7926984B5969215F73DD3 /* Pods-FocusJournalExpo.release.xcconfig */;
baseConfigurationReference = E30A05CDBB8554035B7E5F64 /* Pods-FocusJournalExpo.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public class AppDelegate: ExpoAppDelegate {
open url: URL,
options: [UIApplication.OpenURLOptionsKey: Any] = [:]
) -> Bool {
AppsFlyerAttribution.shared().handleOpen(url, options: options)
return super.application(app, open: url, options: options) || RCTLinkingManager.application(app, open: url, options: options)
}

Expand All @@ -47,6 +48,7 @@ public class AppDelegate: ExpoAppDelegate {
continue userActivity: NSUserActivity,
restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void
) -> Bool {
AppsFlyerAttribution.shared().continue(userActivity, restorationHandler: nil)
let result = RCTLinkingManager.application(application, continue: userActivity, restorationHandler: restorationHandler)
return super.application(application, continue: userActivity, restorationHandler: restorationHandler) || result
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//
// Use this file to import your target's public headers that you would like to expose to Swift.
//
#import <RNAppsFlyer.h>
Loading