Skip to content

Commit c64f75e

Browse files
committed
Setup Google Analytics on mobile
1 parent 325eff0 commit c64f75e

File tree

7 files changed

+75
-0
lines changed

7 files changed

+75
-0
lines changed

packages/mobile/android/app/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ android {
138138
}
139139

140140
dependencies {
141+
compile project(':react-native-google-analytics-bridge')
141142
implementation project(':react-native-vector-icons')
142143
implementation project(':react-native-splash-screen')
143144
implementation project(':react-native-screens')

packages/mobile/android/app/src/main/java/com/devhubapp/MainApplication.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import android.app.Application;
44

55
import com.facebook.react.ReactApplication;
6+
import com.idehub.GoogleAnalyticsBridge.GoogleAnalyticsBridgePackage;
67
import com.oblador.vectoricons.VectorIconsPackage;
78
import org.devio.rn.splashscreen.SplashScreenReactPackage;
89
import com.swmansion.rnscreens.RNScreensPackage;
@@ -29,6 +30,7 @@ public boolean getUseDeveloperSupport() {
2930
protected List<ReactPackage> getPackages() {
3031
return Arrays.<ReactPackage>asList(
3132
new MainReactPackage(),
33+
new GoogleAnalyticsBridgePackage(),
3234
new VectorIconsPackage(),
3335
new SplashScreenReactPackage(),
3436
new RNScreensPackage(),

packages/mobile/android/settings.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
rootProject.name = 'devhub'
2+
include ':react-native-google-analytics-bridge'
3+
project(':react-native-google-analytics-bridge').projectDir = new File(rootProject.projectDir, '../../../node_modules/react-native-google-analytics-bridge/android')
24
include ':react-native-vector-icons'
35
project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../../../node_modules/react-native-vector-icons/android')
46
include ':react-native-splash-screen'

packages/mobile/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
import React from 'react'
22
import { AppRegistry, View } from 'react-native'
33
import { useScreens } from 'react-native-screens'
4+
import {
5+
GoogleAnalyticsSettings,
6+
GoogleAnalyticsTracker,
7+
} from 'react-native-google-analytics-bridge'
48

59
import { App } from 'shared-components/dist/components/App'
610

11+
export const tracker = new GoogleAnalyticsTracker('UA-52350759-2')
12+
GoogleAnalyticsSettings.setDispatchInterval(10)
13+
GoogleAnalyticsSettings.setDryRun(__DEV__)
14+
715
useScreens()
816

917
AppRegistry.registerComponent('devhub', () => App)

packages/mobile/ios/devhub.xcodeproj/project.pbxproj

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,13 @@
3838
2E630C182162FC8F00CE28EA /* libSplashScreen.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2E6F6939201D16D9005C02A8 /* libSplashScreen.a */; };
3939
2EAFF5FE1FE1AEEE000A9A11 /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 486C758B88E34A52BFB2C474 /* MaterialIcons.ttf */; };
4040
5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
41+
70D960BBA2EE45CCA3743FB5 /* libRCTGoogleAnalyticsBridge.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 02455BF605234E42836FB0D9 /* libRCTGoogleAnalyticsBridge.a */; };
42+
7ED0838018F5422AA40D51BB /* CoreData.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5C004FC430E247649BC8DCB5 /* CoreData.framework */; };
4143
7FC9F95B44E64398A3976B78 /* libRNVectorIcons.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8888F60F6C304A58BF18E9E8 /* libRNVectorIcons.a */; };
4244
832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
45+
9394292F679C4C23ADC2055F /* libsqlite3.0.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 02C5ECB675A9487381E93537 /* libsqlite3.0.tbd */; };
4346
95F555B8BE324524957EC796 /* libRNScreens.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 922A6C7C23614601BC85B6D6 /* libRNScreens.a */; };
47+
A68A9F71E59A49258150955F /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9ACAB5D0EEC94B78B85030F3 /* SystemConfiguration.framework */; };
4448
ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; };
4549
C2434B7ADC1743A68D380C24 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = C32C469D820B4B1CB740B0D9 /* libz.tbd */; };
4650
C2619E3179B6481FA20E5CEB /* libRNGestureHandler.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B5DF78792708477FB2343101 /* libRNGestureHandler.a */; };
@@ -246,6 +250,13 @@
246250
remoteGlobalIDString = 134814201AA4EA6300B7C361;
247251
remoteInfo = RNGestureHandler;
248252
};
253+
2EC3352C21A4989A007C8892 /* PBXContainerItemProxy */ = {
254+
isa = PBXContainerItemProxy;
255+
containerPortal = D7601ED2F8134DA4B08D6B30 /* RCTGoogleAnalyticsBridge.xcodeproj */;
256+
proxyType = 2;
257+
remoteGlobalIDString = A79185C61C30694E001236A6;
258+
remoteInfo = RCTGoogleAnalyticsBridge;
259+
};
249260
2EFD3E3A218E320300AAB0D8 /* PBXContainerItemProxy */ = {
250261
isa = PBXContainerItemProxy;
251262
containerPortal = B6BF65C496E44E78BF211275 /* RNVectorIcons.xcodeproj */;
@@ -398,6 +409,8 @@
398409
00E356EE1AD99517003FC87E /* devhubTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = devhubTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
399410
00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
400411
00E356F21AD99517003FC87E /* devhubTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = devhubTests.m; sourceTree = "<group>"; };
412+
02455BF605234E42836FB0D9 /* libRCTGoogleAnalyticsBridge.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRCTGoogleAnalyticsBridge.a; sourceTree = "<group>"; };
413+
02C5ECB675A9487381E93537 /* libsqlite3.0.tbd */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.0.tbd; path = usr/lib/libsqlite3.0.tbd; sourceTree = SDKROOT; };
401414
0441F9718DDD44B287FA1B68 /* libSplashScreen.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libSplashScreen.a; sourceTree = "<group>"; };
402415
12697B233D884F2EB9A7D7F0 /* BVLinearGradient.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = BVLinearGradient.xcodeproj; path = "../../../node_modules/react-native-linear-gradient/BVLinearGradient.xcodeproj"; sourceTree = "<group>"; };
403416
139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../../../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = "<group>"; };
@@ -416,12 +429,14 @@
416429
40B4448D993A4CA2ABDDA557 /* SplashScreen.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = SplashScreen.xcodeproj; path = "../../../node_modules/react-native-splash-screen/ios/SplashScreen.xcodeproj"; sourceTree = "<group>"; };
417430
486C758B88E34A52BFB2C474 /* MaterialIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialIcons.ttf; path = "../../../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf"; sourceTree = "<group>"; };
418431
55B8B3E654F0420CA0ED33D3 /* libSafariViewManager.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libSafariViewManager.a; sourceTree = "<group>"; };
432+
5C004FC430E247649BC8DCB5 /* CoreData.framework */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
419433
5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../../../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = "<group>"; };
420434
78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../../../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = "<group>"; };
421435
832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../../../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = "<group>"; };
422436
8888F60F6C304A58BF18E9E8 /* libRNVectorIcons.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNVectorIcons.a; sourceTree = "<group>"; };
423437
922A6C7C23614601BC85B6D6 /* libRNScreens.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNScreens.a; sourceTree = "<group>"; };
424438
961B335E70A74BD9B59B6237 /* RNScreens.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNScreens.xcodeproj; path = "../../../node_modules/react-native-screens/ios/RNScreens.xcodeproj"; sourceTree = "<group>"; };
439+
9ACAB5D0EEC94B78B85030F3 /* SystemConfiguration.framework */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
425440
ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../../../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = "<group>"; };
426441
B5DF78792708477FB2343101 /* libRNGestureHandler.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNGestureHandler.a; sourceTree = "<group>"; };
427442
B6BF65C496E44E78BF211275 /* RNVectorIcons.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNVectorIcons.xcodeproj; path = "../../../node_modules/react-native-vector-icons/RNVectorIcons.xcodeproj"; sourceTree = "<group>"; };
@@ -430,6 +445,7 @@
430445
C32C469D820B4B1CB740B0D9 /* libz.tbd */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; };
431446
CBFD7354635B4723970EDF30 /* libBugsnagReactNative.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libBugsnagReactNative.a; sourceTree = "<group>"; };
432447
D59EE38FE98B402B99250666 /* libBVLinearGradient.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libBVLinearGradient.a; sourceTree = "<group>"; };
448+
D7601ED2F8134DA4B08D6B30 /* RCTGoogleAnalyticsBridge.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RCTGoogleAnalyticsBridge.xcodeproj; path = "../../../node_modules/react-native-google-analytics-bridge/ios/RCTGoogleAnalyticsBridge/RCTGoogleAnalyticsBridge.xcodeproj"; sourceTree = "<group>"; };
433449
FA6EFEAAAEB7487F9CC33B59 /* Octicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Octicons.ttf; path = "../../../node_modules/react-native-vector-icons/Fonts/Octicons.ttf"; sourceTree = "<group>"; };
434450
/* End PBXFileReference section */
435451

@@ -467,6 +483,10 @@
467483
95F555B8BE324524957EC796 /* libRNScreens.a in Frameworks */,
468484
EF14B007DB43410A84381B54 /* libBugsnagReactNative.a in Frameworks */,
469485
C2434B7ADC1743A68D380C24 /* libz.tbd in Frameworks */,
486+
70D960BBA2EE45CCA3743FB5 /* libRCTGoogleAnalyticsBridge.a in Frameworks */,
487+
7ED0838018F5422AA40D51BB /* CoreData.framework in Frameworks */,
488+
A68A9F71E59A49258150955F /* SystemConfiguration.framework in Frameworks */,
489+
9394292F679C4C23ADC2055F /* libsqlite3.0.tbd in Frameworks */,
470490
);
471491
runOnlyForDeploymentPostprocessing = 0;
472492
};
@@ -615,6 +635,9 @@
615635
isa = PBXGroup;
616636
children = (
617637
C32C469D820B4B1CB740B0D9 /* libz.tbd */,
638+
5C004FC430E247649BC8DCB5 /* CoreData.framework */,
639+
9ACAB5D0EEC94B78B85030F3 /* SystemConfiguration.framework */,
640+
02C5ECB675A9487381E93537 /* libsqlite3.0.tbd */,
618641
);
619642
name = Frameworks;
620643
sourceTree = "<group>";
@@ -662,6 +685,7 @@
662685
0441F9718DDD44B287FA1B68 /* libSplashScreen.a */,
663686
922A6C7C23614601BC85B6D6 /* libRNScreens.a */,
664687
CBFD7354635B4723970EDF30 /* libBugsnagReactNative.a */,
688+
02455BF605234E42836FB0D9 /* libRCTGoogleAnalyticsBridge.a */,
665689
);
666690
name = "Recovered References";
667691
sourceTree = "<group>";
@@ -683,6 +707,14 @@
683707
name = Products;
684708
sourceTree = "<group>";
685709
};
710+
2EC3352921A49899007C8892 /* Products */ = {
711+
isa = PBXGroup;
712+
children = (
713+
2EC3352D21A4989A007C8892 /* libRCTGoogleAnalyticsBridge.a */,
714+
);
715+
name = Products;
716+
sourceTree = "<group>";
717+
};
686718
2EFD3E3E218E320300AAB0D8 /* Products */ = {
687719
isa = PBXGroup;
688720
children = (
@@ -731,6 +763,7 @@
731763
40B4448D993A4CA2ABDDA557 /* SplashScreen.xcodeproj */,
732764
961B335E70A74BD9B59B6237 /* RNScreens.xcodeproj */,
733765
BB2D1144F6514ABB9A32F81B /* BugsnagReactNative.xcodeproj */,
766+
D7601ED2F8134DA4B08D6B30 /* RCTGoogleAnalyticsBridge.xcodeproj */,
734767
);
735768
name = Libraries;
736769
sourceTree = "<group>";
@@ -928,6 +961,10 @@
928961
ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */;
929962
ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */;
930963
},
964+
{
965+
ProductGroup = 2EC3352921A49899007C8892 /* Products */;
966+
ProjectRef = D7601ED2F8134DA4B08D6B30 /* RCTGoogleAnalyticsBridge.xcodeproj */;
967+
},
931968
{
932969
ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */;
933970
ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
@@ -1174,6 +1211,13 @@
11741211
remoteRef = 2EAFF58C1FE0C469000A9A11 /* PBXContainerItemProxy */;
11751212
sourceTree = BUILT_PRODUCTS_DIR;
11761213
};
1214+
2EC3352D21A4989A007C8892 /* libRCTGoogleAnalyticsBridge.a */ = {
1215+
isa = PBXReferenceProxy;
1216+
fileType = archive.ar;
1217+
path = libRCTGoogleAnalyticsBridge.a;
1218+
remoteRef = 2EC3352C21A4989A007C8892 /* PBXContainerItemProxy */;
1219+
sourceTree = BUILT_PRODUCTS_DIR;
1220+
};
11771221
2EFD3E3B218E320300AAB0D8 /* libRNVectorIcons-tvOS.a */ = {
11781222
isa = PBXReferenceProxy;
11791223
fileType = archive.ar;
@@ -1463,6 +1507,7 @@
14631507
"$(SRCROOT)/../../../node_modules/react-native-splash-screen/ios",
14641508
"$(SRCROOT)/../../../node_modules/react-native-screens/ios/**",
14651509
"$(SRCROOT)/../../../node_modules/bugsnag-react-native/cocoa/**",
1510+
"$(SRCROOT)/../../../node_modules/react-native-google-analytics-bridge/ios/RCTGoogleAnalyticsBridge/**",
14661511
);
14671512
INFOPLIST_FILE = devhubTests/Info.plist;
14681513
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
@@ -1471,6 +1516,7 @@
14711516
"$(inherited)",
14721517
"\"$(SRCROOT)/$(TARGET_NAME)\"",
14731518
"\"$(SRCROOT)/$(TARGET_NAME)\"",
1519+
"\"$(SRCROOT)/$(TARGET_NAME)\"",
14741520
);
14751521
OTHER_LDFLAGS = (
14761522
"-ObjC",
@@ -1495,6 +1541,7 @@
14951541
"$(SRCROOT)/../../../node_modules/react-native-splash-screen/ios",
14961542
"$(SRCROOT)/../../../node_modules/react-native-screens/ios/**",
14971543
"$(SRCROOT)/../../../node_modules/bugsnag-react-native/cocoa/**",
1544+
"$(SRCROOT)/../../../node_modules/react-native-google-analytics-bridge/ios/RCTGoogleAnalyticsBridge/**",
14981545
);
14991546
INFOPLIST_FILE = devhubTests/Info.plist;
15001547
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
@@ -1503,6 +1550,7 @@
15031550
"$(inherited)",
15041551
"\"$(SRCROOT)/$(TARGET_NAME)\"",
15051552
"\"$(SRCROOT)/$(TARGET_NAME)\"",
1553+
"\"$(SRCROOT)/$(TARGET_NAME)\"",
15061554
);
15071555
OTHER_LDFLAGS = (
15081556
"-ObjC",
@@ -1532,6 +1580,7 @@
15321580
"$(SRCROOT)/../../../node_modules/react-native-splash-screen/ios",
15331581
"$(SRCROOT)/../../../node_modules/react-native-screens/ios/**",
15341582
"$(SRCROOT)/../../../node_modules/bugsnag-react-native/cocoa/**",
1583+
"$(SRCROOT)/../../../node_modules/react-native-google-analytics-bridge/ios/RCTGoogleAnalyticsBridge/**",
15351584
);
15361585
INFOPLIST_FILE = devhub/Info.plist;
15371586
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
@@ -1566,6 +1615,7 @@
15661615
"$(SRCROOT)/../../../node_modules/react-native-splash-screen/ios",
15671616
"$(SRCROOT)/../../../node_modules/react-native-screens/ios/**",
15681617
"$(SRCROOT)/../../../node_modules/bugsnag-react-native/cocoa/**",
1618+
"$(SRCROOT)/../../../node_modules/react-native-google-analytics-bridge/ios/RCTGoogleAnalyticsBridge/**",
15691619
);
15701620
INFOPLIST_FILE = devhub/Info.plist;
15711621
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
@@ -1603,13 +1653,15 @@
16031653
"$(SRCROOT)/../../../node_modules/react-native-splash-screen/ios",
16041654
"$(SRCROOT)/../../../node_modules/react-native-screens/ios/**",
16051655
"$(SRCROOT)/../../../node_modules/bugsnag-react-native/cocoa/**",
1656+
"$(SRCROOT)/../../../node_modules/react-native-google-analytics-bridge/ios/RCTGoogleAnalyticsBridge/**",
16061657
);
16071658
INFOPLIST_FILE = "devhub-tvOS/Info.plist";
16081659
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
16091660
LIBRARY_SEARCH_PATHS = (
16101661
"$(inherited)",
16111662
"\"$(SRCROOT)/$(TARGET_NAME)\"",
16121663
"\"$(SRCROOT)/$(TARGET_NAME)\"",
1664+
"\"$(SRCROOT)/$(TARGET_NAME)\"",
16131665
);
16141666
OTHER_LDFLAGS = (
16151667
"-ObjC",
@@ -1644,13 +1696,15 @@
16441696
"$(SRCROOT)/../../../node_modules/react-native-splash-screen/ios",
16451697
"$(SRCROOT)/../../../node_modules/react-native-screens/ios/**",
16461698
"$(SRCROOT)/../../../node_modules/bugsnag-react-native/cocoa/**",
1699+
"$(SRCROOT)/../../../node_modules/react-native-google-analytics-bridge/ios/RCTGoogleAnalyticsBridge/**",
16471700
);
16481701
INFOPLIST_FILE = "devhub-tvOS/Info.plist";
16491702
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
16501703
LIBRARY_SEARCH_PATHS = (
16511704
"$(inherited)",
16521705
"\"$(SRCROOT)/$(TARGET_NAME)\"",
16531706
"\"$(SRCROOT)/$(TARGET_NAME)\"",
1707+
"\"$(SRCROOT)/$(TARGET_NAME)\"",
16541708
);
16551709
OTHER_LDFLAGS = (
16561710
"-ObjC",
@@ -1681,6 +1735,7 @@
16811735
"$(inherited)",
16821736
"\"$(SRCROOT)/$(TARGET_NAME)\"",
16831737
"\"$(SRCROOT)/$(TARGET_NAME)\"",
1738+
"\"$(SRCROOT)/$(TARGET_NAME)\"",
16841739
);
16851740
PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.devhub-tvOSTests";
16861741
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -1707,6 +1762,7 @@
17071762
"$(inherited)",
17081763
"\"$(SRCROOT)/$(TARGET_NAME)\"",
17091764
"\"$(SRCROOT)/$(TARGET_NAME)\"",
1765+
"\"$(SRCROOT)/$(TARGET_NAME)\"",
17101766
);
17111767
PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.devhub-tvOSTests";
17121768
PRODUCT_NAME = "$(TARGET_NAME)";

packages/mobile/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"metro-react-native-babel-preset": "^0.49.1",
1616
"react": "16.7.0-alpha.2",
1717
"react-native": "npm:@brunolemos/react-native",
18+
"react-native-google-analytics-bridge": "^6.1.2",
1819
"react-native-screens": "^1.0.0-alpha.16",
1920
"shared-components": "0.17.1"
2021
},

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9715,6 +9715,11 @@ react-native-gesture-handler@^1.0.9:
97159715
invariant "^2.2.2"
97169716
prop-types "^15.5.10"
97179717

9718+
react-native-google-analytics-bridge@^6.1.2:
9719+
version "6.1.2"
9720+
resolved "https://registry.npmjs.org/react-native-google-analytics-bridge/-/react-native-google-analytics-bridge-6.1.2.tgz#1b901d7c06209f88baf4980d5be2ca8150c8df66"
9721+
integrity sha512-QhBvtQb6/5ao0ubgjMRkJMnsAo05UYwTMJHPesMUT6GD9W0zneAUiCC3HtV8IsHZMSZ0HJxytLhnLtQhWzN7PQ==
9722+
97189723
react-native-linear-gradient@^2.4.3:
97199724
version "2.4.3"
97209725
resolved "https://registry.npmjs.org/react-native-linear-gradient/-/react-native-linear-gradient-2.4.3.tgz#a7f5fe685b1a2ac788cca37828c5c9ca91357a16"

0 commit comments

Comments
 (0)