@react-native-firebase/app 23.8.0 → 23.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/CHANGELOG.md +1541 -0
  2. package/RNFBApp.podspec +49 -0
  3. package/android/.editorconfig +10 -0
  4. package/android/build.gradle +129 -0
  5. package/android/firebase-json.gradle +73 -0
  6. package/android/gradle.properties +2 -0
  7. package/android/lint.xml +5 -0
  8. package/android/settings.gradle +1 -0
  9. package/android/src/main/AndroidManifest.xml +24 -0
  10. package/android/src/main/java/io/invertase/firebase/app/.gitkeep +0 -0
  11. package/android/src/main/java/io/invertase/firebase/common/TaskExecutorService.java +124 -0
  12. package/android/src/main/java/io/invertase/firebase/common/UniversalFirebaseModule.java +62 -0
  13. package/android/src/main/java/io/invertase/firebase/common/UniversalFirebasePreferences.java +91 -0
  14. package/android/src/main/java/io/invertase/firebase/interfaces/.gitkeep +0 -0
  15. package/android/src/reactnative/AndroidManifest.xml +2 -0
  16. package/android/src/reactnative/java/io/invertase/firebase/app/ReactNativeFirebaseApp.java +46 -0
  17. package/android/src/reactnative/java/io/invertase/firebase/app/ReactNativeFirebaseAppInitProvider.java +22 -0
  18. package/android/src/reactnative/java/io/invertase/firebase/app/ReactNativeFirebaseAppModule.java +186 -0
  19. package/android/src/reactnative/java/io/invertase/firebase/app/ReactNativeFirebaseAppPackage.java +49 -0
  20. package/android/src/reactnative/java/io/invertase/firebase/app/ReactNativeFirebaseAppRegistrar.java +35 -0
  21. package/android/src/reactnative/java/io/invertase/firebase/app/ReactNativeFirebaseVersion.java +22 -0
  22. package/android/src/reactnative/java/io/invertase/firebase/common/RCTConvertFirebase.java +191 -0
  23. package/android/src/reactnative/java/io/invertase/firebase/common/ReactNativeFirebaseEvent.java +53 -0
  24. package/android/src/reactnative/java/io/invertase/firebase/common/ReactNativeFirebaseEventEmitter.java +151 -0
  25. package/android/src/reactnative/java/io/invertase/firebase/common/ReactNativeFirebaseInitProvider.java +78 -0
  26. package/android/src/reactnative/java/io/invertase/firebase/common/ReactNativeFirebaseJSON.java +107 -0
  27. package/android/src/reactnative/java/io/invertase/firebase/common/ReactNativeFirebaseMeta.java +93 -0
  28. package/android/src/reactnative/java/io/invertase/firebase/common/ReactNativeFirebaseModule.java +146 -0
  29. package/android/src/reactnative/java/io/invertase/firebase/common/ReactNativeFirebasePreferences.java +88 -0
  30. package/android/src/reactnative/java/io/invertase/firebase/common/SharedUtils.java +440 -0
  31. package/android/src/reactnative/java/io/invertase/firebase/interfaces/ContextProvider.java +30 -0
  32. package/android/src/reactnative/java/io/invertase/firebase/interfaces/NativeError.java +32 -0
  33. package/android/src/reactnative/java/io/invertase/firebase/interfaces/NativeEvent.java +28 -0
  34. package/android/src/reactnative/java/io/invertase/firebase/utils/ReactNativeFirebaseUtilsModule.java +191 -0
  35. package/app.plugin.js +1 -0
  36. package/dist/commonjs/version.js +1 -1
  37. package/dist/module/version.js +1 -1
  38. package/dist/typescript/commonjs/lib/modular.d.ts +1 -1
  39. package/dist/typescript/commonjs/lib/version.d.ts +1 -1
  40. package/dist/typescript/module/lib/modular.d.ts +1 -1
  41. package/dist/typescript/module/lib/version.d.ts +1 -1
  42. package/firebase-schema.json +149 -0
  43. package/firebase_json.rb +72 -0
  44. package/ios/RNFBApp/RCTConvert+FIRApp.h +23 -0
  45. package/ios/RNFBApp/RCTConvert+FIRApp.m +31 -0
  46. package/ios/RNFBApp/RCTConvert+FIROptions.h +23 -0
  47. package/ios/RNFBApp/RCTConvert+FIROptions.m +36 -0
  48. package/ios/RNFBApp/RNFBAppModule.h +28 -0
  49. package/ios/RNFBApp/RNFBAppModule.m +305 -0
  50. package/ios/RNFBApp/RNFBJSON.h +36 -0
  51. package/ios/RNFBApp/RNFBJSON.m +99 -0
  52. package/ios/RNFBApp/RNFBMeta.h +30 -0
  53. package/ios/RNFBApp/RNFBMeta.m +61 -0
  54. package/ios/RNFBApp/RNFBNullSentinelInterceptor.h +47 -0
  55. package/ios/RNFBApp/RNFBNullSentinelInterceptor.m +74 -0
  56. package/ios/RNFBApp/RNFBPreferences.h +44 -0
  57. package/ios/RNFBApp/RNFBPreferences.m +94 -0
  58. package/ios/RNFBApp/RNFBRCTEventEmitter.h +73 -0
  59. package/ios/RNFBApp/RNFBRCTEventEmitter.m +151 -0
  60. package/ios/RNFBApp/RNFBSharedUtils.h +67 -0
  61. package/ios/RNFBApp/RNFBSharedUtils.m +285 -0
  62. package/ios/RNFBApp/RNFBUtilsModule.h +30 -0
  63. package/ios/RNFBApp/RNFBUtilsModule.m +100 -0
  64. package/ios/RNFBApp/RNFBVersion.h +20 -0
  65. package/ios/RNFBApp/RNFBVersion.m +21 -0
  66. package/ios/RNFBApp.xcodeproj/project.pbxproj +411 -0
  67. package/ios/RNFBApp.xcodeproj/xcshareddata/IDETemplateMacros.plist +24 -0
  68. package/ios_config.sh +269 -0
  69. package/lib/version.ts +1 -1
  70. package/package.json +3 -10
  71. package/plugin/build/android/applyPlugin.d.ts +6 -0
  72. package/plugin/build/android/applyPlugin.js +29 -0
  73. package/plugin/build/android/buildscriptDependency.d.ts +6 -0
  74. package/plugin/build/android/buildscriptDependency.js +31 -0
  75. package/plugin/build/android/constants.d.ts +4 -0
  76. package/plugin/build/android/constants.js +8 -0
  77. package/plugin/build/android/copyGoogleServices.d.ts +5 -0
  78. package/plugin/build/android/copyGoogleServices.js +33 -0
  79. package/plugin/build/android/index.d.ts +4 -0
  80. package/plugin/build/android/index.js +9 -0
  81. package/plugin/build/index.d.ts +3 -0
  82. package/plugin/build/index.js +21 -0
  83. package/plugin/build/ios/appDelegate.d.ts +6 -0
  84. package/plugin/build/ios/appDelegate.js +116 -0
  85. package/plugin/build/ios/googleServicesPlist.d.ts +7 -0
  86. package/plugin/build/ios/googleServicesPlist.js +42 -0
  87. package/plugin/build/ios/index.d.ts +3 -0
  88. package/plugin/build/ios/index.js +7 -0
  89. package/plugin/src/android/applyPlugin.ts +30 -0
  90. package/plugin/src/android/buildscriptDependency.ts +33 -0
  91. package/plugin/src/android/constants.ts +7 -0
  92. package/plugin/src/android/copyGoogleServices.ts +36 -0
  93. package/plugin/src/android/index.ts +5 -0
  94. package/plugin/src/index.ts +27 -0
  95. package/plugin/src/ios/appDelegate.ts +140 -0
  96. package/plugin/src/ios/googleServicesPlist.ts +55 -0
  97. package/plugin/src/ios/index.ts +4 -0
  98. package/plugin/tsconfig.json +9 -0
  99. package/plugin/tsconfig.tsbuildinfo +1 -0
  100. package/react-native.config.js +19 -0
  101. package/tsconfig.json +10 -0
@@ -0,0 +1,100 @@
1
+ /**
2
+ * Copyright (c) 2016-present Invertase Limited & Contributors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this library except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ *
16
+ */
17
+
18
+ #import <React/RCTUtils.h>
19
+
20
+ #import "RNFBApp/RNFBSharedUtils.h"
21
+ #import "RNFBUtilsModule.h"
22
+
23
+ @implementation RNFBUtilsModule
24
+ #pragma mark -
25
+ #pragma mark Module Setup
26
+
27
+ RCT_EXPORT_MODULE();
28
+
29
+ - (dispatch_queue_t)methodQueue {
30
+ return dispatch_get_main_queue();
31
+ }
32
+
33
+ + (BOOL)requiresMainQueueSetup {
34
+ return YES;
35
+ }
36
+
37
+ #pragma mark -
38
+ #pragma mark Firebase Utils Methods
39
+
40
+ + (BOOL)isRemoteAsset:(NSString *)localFilePath {
41
+ return [localFilePath hasPrefix:@"assets-library://"] || [localFilePath hasPrefix:@"ph://"];
42
+ }
43
+
44
+ + (BOOL)unused_isHeic:(NSString *)localFilePath {
45
+ return [[localFilePath pathExtension] caseInsensitiveCompare:@"heic"] == NSOrderedSame;
46
+ }
47
+
48
+ + (NSString *)valueForKey:(NSString *)key fromQueryItems:(NSArray *)queryItems {
49
+ NSPredicate *predicate = [NSPredicate predicateWithFormat:@"name=%@", key];
50
+ NSURLQueryItem *queryItem = [[queryItems filteredArrayUsingPredicate:predicate] firstObject];
51
+ return queryItem.value;
52
+ }
53
+
54
+ + (PHAsset *)fetchAssetForPath:(NSString *)localFilePath {
55
+ PHAsset *asset = nil;
56
+
57
+ if ([localFilePath hasPrefix:@"assets-library://"] || [localFilePath hasPrefix:@"ph://"]) {
58
+ if ([localFilePath hasPrefix:@"assets-library://"]) {
59
+ NSURL *localFile = [[NSURL alloc] initWithString:localFilePath];
60
+ static BOOL hasWarned = NO;
61
+ if (!hasWarned) {
62
+ NSLog(@"'assets-library://' & 'ph://' URLs are not supported in Catalyst-based targets "
63
+ @"or iOS 12 and higher; returning nil (future warnings will be suppressed)");
64
+ hasWarned = YES;
65
+ }
66
+ } else {
67
+ NSString *assetId = [localFilePath substringFromIndex:@"ph://".length];
68
+ asset = [[PHAsset fetchAssetsWithLocalIdentifiers:@[ assetId ] options:nil] firstObject];
69
+ }
70
+ } else {
71
+ NSURLComponents *components = [NSURLComponents componentsWithString:localFilePath];
72
+ NSArray *queryItems = components.queryItems;
73
+ NSString *assetId = [self valueForKey:@"id" fromQueryItems:queryItems];
74
+ asset = [[PHAsset fetchAssetsWithLocalIdentifiers:@[ assetId ] options:nil] firstObject];
75
+ }
76
+
77
+ return asset;
78
+ }
79
+
80
+ - (NSString *)getPathForDirectory:(int)directory {
81
+ NSArray *paths =
82
+ NSSearchPathForDirectoriesInDomains((NSSearchPathDirectory)directory, NSUserDomainMask, YES);
83
+ return [paths firstObject];
84
+ }
85
+
86
+ - (NSDictionary *)constantsToExport {
87
+ NSMutableDictionary *constants = [@{
88
+ @"MAIN_BUNDLE" : [[NSBundle mainBundle] bundlePath],
89
+ @"CACHES_DIRECTORY" : [self getPathForDirectory:NSCachesDirectory],
90
+ @"DOCUMENT_DIRECTORY" : [self getPathForDirectory:NSDocumentDirectory],
91
+ @"PICTURES_DIRECTORY" : [self getPathForDirectory:NSPicturesDirectory],
92
+ @"MOVIES_DIRECTORY" : [self getPathForDirectory:NSMoviesDirectory],
93
+ @"TEMP_DIRECTORY" : NSTemporaryDirectory(),
94
+ @"LIBRARY_DIRECTORY" : [self getPathForDirectory:NSLibraryDirectory],
95
+ } mutableCopy];
96
+
97
+ return constants;
98
+ }
99
+
100
+ @end
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Copyright (c) 2016-present Invertase Limited & Contributors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this library except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ *
16
+ */
17
+
18
+ #import <Foundation/Foundation.h>
19
+
20
+ extern const NSString* RNFBVersionString;
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Copyright (c) 2016-present Invertase Limited & Contributors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this library except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ *
16
+ */
17
+
18
+ #import <React/RCTVersion.h>
19
+
20
+ // generated file - do not modify or commit
21
+ NSString* const RNFBVersionString = @"23.8.1";
@@ -0,0 +1,411 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 48;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ 2744B98621F45429004F8E3F /* RNFBAppModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 2744B98521F45429004F8E3F /* RNFBAppModule.m */; };
11
+ 2744B99121F46140004F8E3F /* RNFBRCTEventEmitter.m in Sources */ = {isa = PBXBuildFile; fileRef = 2744B99021F46140004F8E3F /* RNFBRCTEventEmitter.m */; };
12
+ 2744B9A421F48A4F004F8E3F /* RCTConvert+FIROptions.m in Sources */ = {isa = PBXBuildFile; fileRef = 2744B9A321F48A4F004F8E3F /* RCTConvert+FIROptions.m */; };
13
+ 2744B9A721F57C2F004F8E3F /* RCTConvert+FIRApp.m in Sources */ = {isa = PBXBuildFile; fileRef = 2744B9A621F57C2F004F8E3F /* RCTConvert+FIRApp.m */; };
14
+ 2748D8152236426300FC8DC8 /* RNFBJSON.m in Sources */ = {isa = PBXBuildFile; fileRef = 2748D8142236426300FC8DC8 /* RNFBJSON.m */; };
15
+ 2748D8172236429D00FC8DC8 /* RNFBSharedUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 2748D8102236417700FC8DC8 /* RNFBSharedUtils.m */; };
16
+ 2748D81C223674CD00FC8DC8 /* RNFBPreferences.m in Sources */ = {isa = PBXBuildFile; fileRef = 2748D81B223674CD00FC8DC8 /* RNFBPreferences.m */; };
17
+ 2748D8202237018600FC8DC8 /* RNFBMeta.m in Sources */ = {isa = PBXBuildFile; fileRef = 2748D81F2237018600FC8DC8 /* RNFBMeta.m */; };
18
+ 4D97BAD423042F2700077358 /* RNFBUtilsModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 4D97BAD323042F2700077358 /* RNFBUtilsModule.m */; };
19
+ DAA1F28522FCF6AD00F4DEC1 /* RNFBVersion.m in Sources */ = {isa = PBXBuildFile; fileRef = DAA1F28422FCF6AD00F4DEC1 /* RNFBVersion.m */; };
20
+ RNFB00001A2025011100000001 /* RNFBNullSentinelInterceptor.m in Sources */ = {isa = PBXBuildFile; fileRef = RNFB00001A2025011100000002 /* RNFBNullSentinelInterceptor.m */; };
21
+ /* End PBXBuildFile section */
22
+
23
+ /* Begin PBXCopyFilesBuildPhase section */
24
+ 2744B98021F45429004F8E3F /* CopyFiles */ = {
25
+ isa = PBXCopyFilesBuildPhase;
26
+ buildActionMask = 2147483647;
27
+ dstPath = "";
28
+ dstSubfolderSpec = 16;
29
+ files = (
30
+ );
31
+ runOnlyForDeploymentPostprocessing = 0;
32
+ };
33
+ /* End PBXCopyFilesBuildPhase section */
34
+
35
+ /* Begin PBXFileReference section */
36
+ 2744B98221F45429004F8E3F /* libRNFBApp.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNFBApp.a; sourceTree = BUILT_PRODUCTS_DIR; };
37
+ 2744B98421F45429004F8E3F /* RNFBAppModule.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RNFBAppModule.h; path = RNFBApp/RNFBAppModule.h; sourceTree = SOURCE_ROOT; };
38
+ 2744B98521F45429004F8E3F /* RNFBAppModule.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = RNFBAppModule.m; path = RNFBApp/RNFBAppModule.m; sourceTree = SOURCE_ROOT; };
39
+ 2744B98D21F45E8B004F8E3F /* RNFBRCTEventEmitter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RNFBRCTEventEmitter.h; sourceTree = "<group>"; };
40
+ 2744B99021F46140004F8E3F /* RNFBRCTEventEmitter.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNFBRCTEventEmitter.m; sourceTree = "<group>"; };
41
+ 2744B9A221F48826004F8E3F /* RCTConvert+FIROptions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "RCTConvert+FIROptions.h"; sourceTree = "<group>"; };
42
+ 2744B9A321F48A4F004F8E3F /* RCTConvert+FIROptions.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "RCTConvert+FIROptions.m"; sourceTree = "<group>"; };
43
+ 2744B9A521F57BD9004F8E3F /* RCTConvert+FIRApp.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "RCTConvert+FIRApp.h"; sourceTree = "<group>"; };
44
+ 2744B9A621F57C2F004F8E3F /* RCTConvert+FIRApp.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "RCTConvert+FIRApp.m"; sourceTree = "<group>"; };
45
+ 2748D8102236417700FC8DC8 /* RNFBSharedUtils.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNFBSharedUtils.m; sourceTree = "<group>"; };
46
+ 2748D8112236417700FC8DC8 /* RNFBSharedUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNFBSharedUtils.h; sourceTree = "<group>"; };
47
+ 2748D8142236426300FC8DC8 /* RNFBJSON.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNFBJSON.m; sourceTree = "<group>"; };
48
+ 2748D8162236428100FC8DC8 /* RNFBJSON.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RNFBJSON.h; sourceTree = "<group>"; };
49
+ 2748D81A223674B600FC8DC8 /* RNFBPreferences.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RNFBPreferences.h; sourceTree = "<group>"; };
50
+ 2748D81B223674CD00FC8DC8 /* RNFBPreferences.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNFBPreferences.m; sourceTree = "<group>"; };
51
+ 2748D81E2237012B00FC8DC8 /* RNFBMeta.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RNFBMeta.h; sourceTree = "<group>"; };
52
+ 2748D81F2237018600FC8DC8 /* RNFBMeta.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNFBMeta.m; sourceTree = "<group>"; };
53
+ 4D97BAD223042F0800077358 /* RNFBUtilsModule.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RNFBUtilsModule.h; sourceTree = "<group>"; };
54
+ 4D97BAD323042F2700077358 /* RNFBUtilsModule.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNFBUtilsModule.m; sourceTree = "<group>"; };
55
+ DAA1F28422FCF6AD00F4DEC1 /* RNFBVersion.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNFBVersion.m; sourceTree = "<group>"; };
56
+ DAA1F28622FCF6C200F4DEC1 /* RNFBVersion.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RNFBVersion.h; sourceTree = "<group>"; };
57
+ RNFB00001A2025011100000002 /* RNFBNullSentinelInterceptor.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNFBNullSentinelInterceptor.m; sourceTree = "<group>"; };
58
+ RNFB00001A2025011100000003 /* RNFBNullSentinelInterceptor.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RNFBNullSentinelInterceptor.h; sourceTree = "<group>"; };
59
+ /* End PBXFileReference section */
60
+
61
+ /* Begin PBXFrameworksBuildPhase section */
62
+ 2744B97F21F45429004F8E3F /* Frameworks */ = {
63
+ isa = PBXFrameworksBuildPhase;
64
+ buildActionMask = 2147483647;
65
+ files = (
66
+ );
67
+ runOnlyForDeploymentPostprocessing = 0;
68
+ };
69
+ /* End PBXFrameworksBuildPhase section */
70
+
71
+ /* Begin PBXGroup section */
72
+ 2744B97521F452B8004F8E3F /* Products */ = {
73
+ isa = PBXGroup;
74
+ children = (
75
+ 2744B98221F45429004F8E3F /* libRNFBApp.a */,
76
+ );
77
+ name = Products;
78
+ sourceTree = "<group>";
79
+ };
80
+ 2744B98321F45429004F8E3F /* RNFBApp */ = {
81
+ isa = PBXGroup;
82
+ children = (
83
+ 2748D8112236417700FC8DC8 /* RNFBSharedUtils.h */,
84
+ 2748D8102236417700FC8DC8 /* RNFBSharedUtils.m */,
85
+ 2744B98D21F45E8B004F8E3F /* RNFBRCTEventEmitter.h */,
86
+ 2744B99021F46140004F8E3F /* RNFBRCTEventEmitter.m */,
87
+ 2744B9A221F48826004F8E3F /* RCTConvert+FIROptions.h */,
88
+ 2744B9A321F48A4F004F8E3F /* RCTConvert+FIROptions.m */,
89
+ 2748D81E2237012B00FC8DC8 /* RNFBMeta.h */,
90
+ 2748D81F2237018600FC8DC8 /* RNFBMeta.m */,
91
+ 2744B9A521F57BD9004F8E3F /* RCTConvert+FIRApp.h */,
92
+ 2744B9A621F57C2F004F8E3F /* RCTConvert+FIRApp.m */,
93
+ 2744B98421F45429004F8E3F /* RNFBAppModule.h */,
94
+ 2744B98521F45429004F8E3F /* RNFBAppModule.m */,
95
+ 2748D8162236428100FC8DC8 /* RNFBJSON.h */,
96
+ 2748D8142236426300FC8DC8 /* RNFBJSON.m */,
97
+ 2748D81A223674B600FC8DC8 /* RNFBPreferences.h */,
98
+ 2748D81B223674CD00FC8DC8 /* RNFBPreferences.m */,
99
+ DAA1F28422FCF6AD00F4DEC1 /* RNFBVersion.m */,
100
+ DAA1F28622FCF6C200F4DEC1 /* RNFBVersion.h */,
101
+ 4D97BAD223042F0800077358 /* RNFBUtilsModule.h */,
102
+ 4D97BAD323042F2700077358 /* RNFBUtilsModule.m */,
103
+ RNFB00001A2025011100000003 /* RNFBNullSentinelInterceptor.h */,
104
+ RNFB00001A2025011100000002 /* RNFBNullSentinelInterceptor.m */,
105
+ );
106
+ path = RNFBApp;
107
+ sourceTree = "<group>";
108
+ };
109
+ 3323F52AAFE26B7384BE4DE3 = {
110
+ isa = PBXGroup;
111
+ children = (
112
+ 2744B98321F45429004F8E3F /* RNFBApp */,
113
+ 2744B97521F452B8004F8E3F /* Products */,
114
+ );
115
+ sourceTree = "<group>";
116
+ };
117
+ /* End PBXGroup section */
118
+
119
+ /* Begin PBXNativeTarget section */
120
+ 2744B98121F45429004F8E3F /* RNFBApp */ = {
121
+ isa = PBXNativeTarget;
122
+ buildConfigurationList = 2744B98821F45429004F8E3F /* Build configuration list for PBXNativeTarget "RNFBApp" */;
123
+ buildPhases = (
124
+ 2744B97E21F45429004F8E3F /* Sources */,
125
+ 2744B97F21F45429004F8E3F /* Frameworks */,
126
+ 2744B98021F45429004F8E3F /* CopyFiles */,
127
+ );
128
+ buildRules = (
129
+ );
130
+ dependencies = (
131
+ );
132
+ name = RNFBApp;
133
+ productName = RNFBApp;
134
+ productReference = 2744B98221F45429004F8E3F /* libRNFBApp.a */;
135
+ productType = "com.apple.product-type.library.static";
136
+ };
137
+ /* End PBXNativeTarget section */
138
+
139
+ /* Begin PBXProject section */
140
+ 3323F95273A95DB34F55C6D7 /* Project object */ = {
141
+ isa = PBXProject;
142
+ attributes = {
143
+ CLASSPREFIX = RNFB;
144
+ LastUpgradeCheck = 1010;
145
+ ORGANIZATIONNAME = Invertase;
146
+ TargetAttributes = {
147
+ 2744B98121F45429004F8E3F = {
148
+ CreatedOnToolsVersion = 10.1;
149
+ ProvisioningStyle = Automatic;
150
+ };
151
+ };
152
+ };
153
+ buildConfigurationList = 3323F1C5716BA966BBBB95A4 /* Build configuration list for PBXProject "RNFBApp" */;
154
+ compatibilityVersion = "Xcode 8.0";
155
+ developmentRegion = English;
156
+ hasScannedForEncodings = 0;
157
+ knownRegions = (
158
+ English,
159
+ en,
160
+ );
161
+ mainGroup = 3323F52AAFE26B7384BE4DE3;
162
+ productRefGroup = 2744B97521F452B8004F8E3F /* Products */;
163
+ projectDirPath = "";
164
+ projectRoot = "";
165
+ targets = (
166
+ 2744B98121F45429004F8E3F /* RNFBApp */,
167
+ );
168
+ };
169
+ /* End PBXProject section */
170
+
171
+ /* Begin PBXSourcesBuildPhase section */
172
+ 2744B97E21F45429004F8E3F /* Sources */ = {
173
+ isa = PBXSourcesBuildPhase;
174
+ buildActionMask = 2147483647;
175
+ files = (
176
+ 2744B98621F45429004F8E3F /* RNFBAppModule.m in Sources */,
177
+ 2744B9A721F57C2F004F8E3F /* RCTConvert+FIRApp.m in Sources */,
178
+ 2748D8172236429D00FC8DC8 /* RNFBSharedUtils.m in Sources */,
179
+ 2748D81C223674CD00FC8DC8 /* RNFBPreferences.m in Sources */,
180
+ DAA1F28522FCF6AD00F4DEC1 /* RNFBVersion.m in Sources */,
181
+ 4D97BAD423042F2700077358 /* RNFBUtilsModule.m in Sources */,
182
+ 2748D8202237018600FC8DC8 /* RNFBMeta.m in Sources */,
183
+ 2744B99121F46140004F8E3F /* RNFBRCTEventEmitter.m in Sources */,
184
+ 2744B9A421F48A4F004F8E3F /* RCTConvert+FIROptions.m in Sources */,
185
+ 2748D8152236426300FC8DC8 /* RNFBJSON.m in Sources */,
186
+ RNFB00001A2025011100000001 /* RNFBNullSentinelInterceptor.m in Sources */,
187
+ );
188
+ runOnlyForDeploymentPostprocessing = 0;
189
+ };
190
+ /* End PBXSourcesBuildPhase section */
191
+
192
+ /* Begin XCBuildConfiguration section */
193
+ 2744B98921F45429004F8E3F /* Debug */ = {
194
+ isa = XCBuildConfiguration;
195
+ buildSettings = {
196
+ ALWAYS_SEARCH_USER_PATHS = NO;
197
+ CLANG_ANALYZER_NONNULL = YES;
198
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
199
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
200
+ CLANG_CXX_LIBRARY = "libc++";
201
+ CLANG_ENABLE_MODULES = YES;
202
+ CLANG_ENABLE_OBJC_ARC = YES;
203
+ CLANG_ENABLE_OBJC_WEAK = YES;
204
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
205
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
206
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
207
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
208
+ CODE_SIGN_IDENTITY = "iPhone Developer";
209
+ CODE_SIGN_STYLE = Automatic;
210
+ COPY_PHASE_STRIP = NO;
211
+ DEBUG_INFORMATION_FORMAT = dwarf;
212
+ GCC_C_LANGUAGE_STANDARD = gnu11;
213
+ GCC_DYNAMIC_NO_PIC = NO;
214
+ GCC_OPTIMIZATION_LEVEL = 0;
215
+ GCC_PREPROCESSOR_DEFINITIONS = (
216
+ "DEBUG=1",
217
+ "$(inherited)",
218
+ );
219
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
220
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
221
+ IPHONEOS_DEPLOYMENT_TARGET = 10.0;
222
+ MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
223
+ MTL_FAST_MATH = YES;
224
+ OTHER_LDFLAGS = "-ObjC";
225
+ PRODUCT_NAME = "$(TARGET_NAME)";
226
+ SDKROOT = iphoneos;
227
+ SKIP_INSTALL = YES;
228
+ TARGETED_DEVICE_FAMILY = "1,2";
229
+ };
230
+ name = Debug;
231
+ };
232
+ 2744B98A21F45429004F8E3F /* Release */ = {
233
+ isa = XCBuildConfiguration;
234
+ buildSettings = {
235
+ ALWAYS_SEARCH_USER_PATHS = NO;
236
+ CLANG_ANALYZER_NONNULL = YES;
237
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
238
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
239
+ CLANG_CXX_LIBRARY = "libc++";
240
+ CLANG_ENABLE_MODULES = YES;
241
+ CLANG_ENABLE_OBJC_ARC = YES;
242
+ CLANG_ENABLE_OBJC_WEAK = YES;
243
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
244
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
245
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
246
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
247
+ CODE_SIGN_IDENTITY = "iPhone Developer";
248
+ CODE_SIGN_STYLE = Automatic;
249
+ COPY_PHASE_STRIP = NO;
250
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
251
+ ENABLE_NS_ASSERTIONS = NO;
252
+ GCC_C_LANGUAGE_STANDARD = gnu11;
253
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
254
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
255
+ IPHONEOS_DEPLOYMENT_TARGET = 10.0;
256
+ MTL_ENABLE_DEBUG_INFO = NO;
257
+ MTL_FAST_MATH = YES;
258
+ OTHER_LDFLAGS = "-ObjC";
259
+ PRODUCT_NAME = "$(TARGET_NAME)";
260
+ SDKROOT = iphoneos;
261
+ SKIP_INSTALL = YES;
262
+ TARGETED_DEVICE_FAMILY = "1,2";
263
+ VALIDATE_PRODUCT = YES;
264
+ };
265
+ name = Release;
266
+ };
267
+ 3323F77D701E1896E6D239CF /* Release */ = {
268
+ isa = XCBuildConfiguration;
269
+ buildSettings = {
270
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
271
+ CLANG_WARN_BOOL_CONVERSION = YES;
272
+ CLANG_WARN_COMMA = YES;
273
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
274
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
275
+ CLANG_WARN_EMPTY_BODY = YES;
276
+ CLANG_WARN_ENUM_CONVERSION = YES;
277
+ CLANG_WARN_INFINITE_RECURSION = YES;
278
+ CLANG_WARN_INT_CONVERSION = YES;
279
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
280
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
281
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
282
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
283
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
284
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
285
+ CLANG_WARN_UNREACHABLE_CODE = YES;
286
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
287
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
288
+ FRAMEWORK_SEARCH_PATHS = (
289
+ "$(inherited)",
290
+ "${BUILT_PRODUCTS_DIR}/**",
291
+ "${SRCROOT}/../../../ios/Firebase/**",
292
+ "$(FIREBASE_SEARCH_PATH)/Firebase/**",
293
+ "$(SRCROOT)/../../../ios/Pods/FirebaseCore/Frameworks",
294
+ "$(SRCROOT)/../../../tests/ios/Pods/FirebaseCore/Frameworks",
295
+ );
296
+ GCC_NO_COMMON_BLOCKS = YES;
297
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
298
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
299
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
300
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
301
+ GCC_WARN_UNUSED_FUNCTION = YES;
302
+ GCC_WARN_UNUSED_VARIABLE = YES;
303
+ HEADER_SEARCH_PATHS = (
304
+ "$(inherited)",
305
+ "$(REACT_SEARCH_PATH)/React/**",
306
+ "$(SRCROOT)/../../react-native/React/**",
307
+ "$(FIREBASE_SEARCH_PATH)/Firebase/**",
308
+ "${SRCROOT}/../../../ios/Firebase/**",
309
+ "${SRCROOT}/../../../ios/Pods/Headers/Public/**",
310
+ "${SRCROOT}/../../../tests/ios/Pods/Headers/Public/**",
311
+ "$(SRCROOT)/../../../node_modules/react-native/React/**",
312
+ );
313
+ IPHONEOS_DEPLOYMENT_TARGET = 10.0;
314
+ LIBRARY_SEARCH_PATHS = "$(inherited)";
315
+ MACH_O_TYPE = staticlib;
316
+ OTHER_LDFLAGS = "$(inherited)";
317
+ PRODUCT_NAME = "$(TARGET_NAME)";
318
+ SKIP_INSTALL = YES;
319
+ };
320
+ name = Release;
321
+ };
322
+ 3323F7E33E1559A2B9826720 /* Debug */ = {
323
+ isa = XCBuildConfiguration;
324
+ buildSettings = {
325
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
326
+ CLANG_WARN_BOOL_CONVERSION = YES;
327
+ CLANG_WARN_COMMA = YES;
328
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
329
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
330
+ CLANG_WARN_EMPTY_BODY = YES;
331
+ CLANG_WARN_ENUM_CONVERSION = YES;
332
+ CLANG_WARN_INFINITE_RECURSION = YES;
333
+ CLANG_WARN_INT_CONVERSION = YES;
334
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
335
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
336
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
337
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
338
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
339
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
340
+ CLANG_WARN_UNREACHABLE_CODE = YES;
341
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
342
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
343
+ ENABLE_TESTABILITY = YES;
344
+ FRAMEWORK_SEARCH_PATHS = (
345
+ "$(inherited)",
346
+ "${BUILT_PRODUCTS_DIR}/**",
347
+ "${SRCROOT}/../../../ios/Firebase/**",
348
+ "$(FIREBASE_SEARCH_PATH)/Firebase/**",
349
+ "$(SRCROOT)/../../../ios/Pods/FirebaseCore/Frameworks",
350
+ );
351
+ GCC_NO_COMMON_BLOCKS = YES;
352
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
353
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
354
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
355
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
356
+ GCC_WARN_UNUSED_FUNCTION = YES;
357
+ GCC_WARN_UNUSED_VARIABLE = YES;
358
+ HEADER_SEARCH_PATHS = (
359
+ "$(inherited)",
360
+ "$(REACT_SEARCH_PATH)/React/**",
361
+ "$(SRCROOT)/../../react-native/React/**",
362
+ "$(FIREBASE_SEARCH_PATH)/Firebase/**",
363
+ "${SRCROOT}/../../../ios/Firebase/**",
364
+ "${SRCROOT}/../../../ios/Pods/Headers/Public/**",
365
+ "$(SRCROOT)/../../../node_modules/react-native/React/**",
366
+ "${SRCROOT}/../../../tests/ios/Pods/Headers/Public/**",
367
+ );
368
+ "HEADER_SEARCH_PATHS[arch=*]" = (
369
+ "$(inherited)",
370
+ "$(REACT_SEARCH_PATH)/React/**",
371
+ "$(SRCROOT)/../../react-native/React/**",
372
+ "$(FIREBASE_SEARCH_PATH)/Firebase/**",
373
+ "${SRCROOT}/../../../ios/Firebase/**",
374
+ "${SRCROOT}/../../../ios/Pods/Headers/Public/**",
375
+ "$(SRCROOT)/../../../node_modules/react-native/React/**",
376
+ );
377
+ IPHONEOS_DEPLOYMENT_TARGET = 10.0;
378
+ LIBRARY_SEARCH_PATHS = "$(inherited)";
379
+ MACH_O_TYPE = staticlib;
380
+ ONLY_ACTIVE_ARCH = YES;
381
+ OTHER_LDFLAGS = "$(inherited)";
382
+ PRODUCT_NAME = "$(TARGET_NAME)";
383
+ SKIP_INSTALL = YES;
384
+ };
385
+ name = Debug;
386
+ };
387
+ /* End XCBuildConfiguration section */
388
+
389
+ /* Begin XCConfigurationList section */
390
+ 2744B98821F45429004F8E3F /* Build configuration list for PBXNativeTarget "RNFBApp" */ = {
391
+ isa = XCConfigurationList;
392
+ buildConfigurations = (
393
+ 2744B98921F45429004F8E3F /* Debug */,
394
+ 2744B98A21F45429004F8E3F /* Release */,
395
+ );
396
+ defaultConfigurationIsVisible = 0;
397
+ defaultConfigurationName = Release;
398
+ };
399
+ 3323F1C5716BA966BBBB95A4 /* Build configuration list for PBXProject "RNFBApp" */ = {
400
+ isa = XCConfigurationList;
401
+ buildConfigurations = (
402
+ 3323F7E33E1559A2B9826720 /* Debug */,
403
+ 3323F77D701E1896E6D239CF /* Release */,
404
+ );
405
+ defaultConfigurationIsVisible = 0;
406
+ defaultConfigurationName = Release;
407
+ };
408
+ /* End XCConfigurationList section */
409
+ };
410
+ rootObject = 3323F95273A95DB34F55C6D7 /* Project object */;
411
+ }
@@ -0,0 +1,24 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>FILEHEADER</key>
6
+ <string>
7
+ /**
8
+ * Copyright (c) 2016-present Invertase Limited &amp; Contributors
9
+ *
10
+ * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
11
+ * you may not use this library except in compliance with the License.
12
+ * You may obtain a copy of the License at
13
+ *
14
+ * http://www.apache.org/licenses/LICENSE-2.0
15
+ *
16
+ * Unless required by applicable law or agreed to in writing, software
17
+ * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
18
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ * See the License for the specific language governing permissions and
20
+ * limitations under the License.
21
+ *
22
+ */</string>
23
+ </dict>
24
+ </plist>