mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
Add firebase dependency, and basic logging (#3127)
* Update package.json * Update AppDelegate.mm * Update Podfile * Update .gitignore * Update link-inat-model-files.sh * Add plist file to project * Update project.pbxproj * Add analytics package * Update project.pbxproj * Update PrivacyInfo.xcprivacy * Basic screen tracking * Basic button press logging to firebase * Update package-lock.json * Update Podfile.lock * Add Android setup * Update .gitignore * Add analytics mock * Ignore rubocop warning here * Create GoogleService-Info.example.plist * Create google-services.example.json * Add instructions to set up Firebase configs * Update e2e_ios.yml * Update e2e_android.yml * Better plural * Use specific XCode version in e2e CI * Update GoogleService-Info.example.plist * Revert "Update GoogleService-Info.example.plist" This reverts commit0bc0ed4862. * We need an actual real app id or we get a crash during app start * My bad, we do need both files for building * Also set API key * Add comments * Add comment * Update Podfile.lock * Revert "Use specific XCode version in e2e CI" This reverts commitcbd63d1b5d.
This commit is contained in:
@@ -104,6 +104,11 @@ jest.mock( "react-native-restart", ( ) => ( {
|
||||
restart: jest.fn( )
|
||||
} ) );
|
||||
|
||||
jest.mock( "@react-native-firebase/analytics", () => ( {
|
||||
getAnalytics: jest.fn( ),
|
||||
logEvent: jest.fn( )
|
||||
} ) );
|
||||
|
||||
// see https://stackoverflow.com/questions/42268673/jest-test-animated-view-for-react-native-app
|
||||
// for more details about this withAnimatedTimeTravelEnabled approach. basically, this
|
||||
// allows us to step through animation frames when a screen is first loading when we're using the
|
||||
|
||||
Reference in New Issue
Block a user