Skip to content

Commit

Permalink
Remove ADID from analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
robertying committed Sep 28, 2024
1 parent 3a5e7a1 commit b56cc2a
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 31 deletions.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
compileSdk rootProject.ext.compileSdkVersion
versionCode 9203191
versionCode 9203193
versionName "14.9.0"
}

Expand Down
7 changes: 7 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">

<meta-data
android:name="google_analytics_adid_collection_enabled"
android:value="false" />

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.READ_CALENDAR" />
Expand All @@ -11,6 +15,9 @@
<uses-permission
tools:node="remove"
android:name="android.permission.READ_MEDIA_VIDEO" />
<uses-permission
tools:node="remove"
android:name="com.google.android.gms.permission.AD_ID" />

<application
android:name=".MainApplication"
Expand Down
2 changes: 1 addition & 1 deletion ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ target 'learnX' do
hermes_enabled: true
)

pod 'FirebaseAnalytics'
pod 'FirebaseAnalytics/WithoutAdIdSupport'
pod 'FirebaseCrashlytics'

post_install do |installer|
Expand Down
31 changes: 4 additions & 27 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -79,19 +79,10 @@ PODS:
- ExpoModulesCore
- UMAppLoader
- FBLazyVector (0.75.3)
- FirebaseAnalytics (11.2.0):
- FirebaseAnalytics/AdIdSupport (= 11.2.0)
- FirebaseAnalytics/WithoutAdIdSupport (11.2.0):
- FirebaseCore (~> 11.0)
- FirebaseInstallations (~> 11.0)
- GoogleUtilities/AppDelegateSwizzler (~> 8.0)
- GoogleUtilities/MethodSwizzler (~> 8.0)
- GoogleUtilities/Network (~> 8.0)
- "GoogleUtilities/NSData+zlib (~> 8.0)"
- nanopb (~> 3.30910.0)
- FirebaseAnalytics/AdIdSupport (11.2.0):
- FirebaseCore (~> 11.0)
- FirebaseInstallations (~> 11.0)
- GoogleAppMeasurement (= 11.2.0)
- GoogleAppMeasurement/WithoutAdIdSupport (= 11.2.0)
- GoogleUtilities/AppDelegateSwizzler (~> 8.0)
- GoogleUtilities/MethodSwizzler (~> 8.0)
- GoogleUtilities/Network (~> 8.0)
Expand Down Expand Up @@ -131,20 +122,6 @@ PODS:
- PromisesSwift (~> 2.1)
- fmt (9.1.0)
- glog (0.3.5)
- GoogleAppMeasurement (11.2.0):
- GoogleAppMeasurement/AdIdSupport (= 11.2.0)
- GoogleUtilities/AppDelegateSwizzler (~> 8.0)
- GoogleUtilities/MethodSwizzler (~> 8.0)
- GoogleUtilities/Network (~> 8.0)
- "GoogleUtilities/NSData+zlib (~> 8.0)"
- nanopb (~> 3.30910.0)
- GoogleAppMeasurement/AdIdSupport (11.2.0):
- GoogleAppMeasurement/WithoutAdIdSupport (= 11.2.0)
- GoogleUtilities/AppDelegateSwizzler (~> 8.0)
- GoogleUtilities/MethodSwizzler (~> 8.0)
- GoogleUtilities/Network (~> 8.0)
- "GoogleUtilities/NSData+zlib (~> 8.0)"
- nanopb (~> 3.30910.0)
- GoogleAppMeasurement/WithoutAdIdSupport (11.2.0):
- GoogleUtilities/AppDelegateSwizzler (~> 8.0)
- GoogleUtilities/MethodSwizzler (~> 8.0)
Expand Down Expand Up @@ -1922,7 +1899,7 @@ DEPENDENCIES:
- ExpoSecureStore (from `../node_modules/expo-secure-store/ios`)
- EXTaskManager (from `../node_modules/expo-task-manager/ios`)
- FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
- FirebaseAnalytics
- FirebaseAnalytics/WithoutAdIdSupport
- FirebaseCrashlytics
- fmt (from `../node_modules/react-native/third-party-podspecs/fmt.podspec`)
- glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
Expand Down Expand Up @@ -2345,6 +2322,6 @@ SPEC CHECKSUMS:
UMAppLoader: f17a5ee8e85b536ace0fc254b447a37ed198d57e
Yoga: 33604ac44957ebe3f30f15b4cd0a3f96634e624a

PODFILE CHECKSUM: 06fbd7eae934c70ef102603e9f8ec49949321775
PODFILE CHECKSUM: 045162471d5a4f39655a9ce23ef4cf9a50ab825b

COCOAPODS: 1.15.2
4 changes: 2 additions & 2 deletions ios/learnX.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = learnX/learnX.entitlements;
CURRENT_PROJECT_VERSION = 3191;
CURRENT_PROJECT_VERSION = 3193;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = G896QC26MC;
ENABLE_BITCODE = NO;
Expand Down Expand Up @@ -553,7 +553,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = learnX/learnX.entitlements;
CURRENT_PROJECT_VERSION = 3191;
CURRENT_PROJECT_VERSION = 3193;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = G896QC26MC;
INFOPLIST_FILE = learnX/Info.plist;
Expand Down

0 comments on commit b56cc2a

Please sign in to comment.