File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454 JIRA_TOKEN : ${{ secrets.CI_JIRA_TOKEN }}
5555 JIRA_FIXED_VERSION : " React Native SDK v${{env.PLUGIN_VERSION}}"
5656 run : |
57- ios_sdk_version=$(cat react-native-appsflyer.podspec | grep '\'AppsFlyerFramework\' | grep -Eo '[0-9].[0-9]+.[0.9]+')
58- android_sdk_version=$(cat android/build.gradle | grep 'com.appsflyer:af-android-sdk' | grep -Eo '[0-9].[0-9]+.[0.9]+')
5957 ios_sdk_version=$(cat react-native-appsflyer.podspec | grep '\'AppsFlyerFramework\' | grep -Eo '[0-9].[0-9]+.[0.9]+')
6058 android_sdk_version=$(cat android/build.gradle | grep 'com.appsflyer:af-android-sdk' | grep -Eo '[0-9].[0-9]+.[0.9]+')
6159 sed -i -e -r "s/Android AppsFlyer SDK \*\*v[0-9].[0-9]+.[0-9]+\*\*/Android AppsFlyer SDK \*\*v$android_sdk_version\*\*/g" README.md
Original file line number Diff line number Diff line change @@ -115,11 +115,15 @@ declare module "react-native-appsflyer" {
115115 }
116116
117117 export const AppsFlyerConsent : {
118- forGDPRUser : ( hasConsentForDataUsage : boolean , hasConsentForAdsPersonalization : boolean ) => void ;
119- forNonGDPRUser : ( ) => void ;
118+ forGDPRUser : ( hasConsentForDataUsage : boolean , hasConsentForAdsPersonalization : boolean ) => AppsFlyerConsentType ;
119+ forNonGDPRUser : ( ) => AppsFlyerConsentType ;
120120 }
121121
122- export type AppsFlyerConsentType = typeof AppsFlyerConsent ;
122+ export interface AppsFlyerConsentType {
123+ isUserSubjectToGDPR : boolean ;
124+ hasConsentForDataUsage ?: boolean ;
125+ hasConsentForAdsPersonalization ?: boolean ;
126+ }
123127
124128 const appsFlyer : {
125129 onInstallConversionData ( callback : ( data : ConversionData ) => any ) : ( ) => void ;
Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ Pod::Spec.new do |s|
1818 # AppsFlyerFramework
1919 if defined? ( $RNAppsFlyerStrictMode) && ( $RNAppsFlyerStrictMode == true )
2020 Pod ::UI . puts "#{ s . name } : Using AppsFlyerFramework/Strict mode"
21- s . dependency 'AppsFlyerFramework/Strict' , '6.13.0 '
21+ s . dependency 'AppsFlyerFramework/Strict' , '6.13.1 '
2222 s . xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) AFSDK_NO_IDFA=1' }
2323 else
2424 if !defined? ( $RNAppsFlyerStrictMode)
2525 Pod ::UI . puts "#{ s . name } : Using default AppsFlyerFramework. You may require App Tracking Transparency. Not allowed for Kids apps."
2626 Pod ::UI . puts "#{ s . name } : You may set variable `$RNAppsFlyerStrictMode=true` in Podfile to use strict mode for kids apps."
2727 end
28- s . dependency 'AppsFlyerFramework' , '6.13.0 '
28+ s . dependency 'AppsFlyerFramework' , '6.13.1 '
2929 end
3030end
You can’t perform that action at this time.
0 commit comments