Skip to content

Commit 22bf35b

Browse files
committed
Removed Pods from git
1 parent 36779ff commit 22bf35b

File tree

141 files changed

+408
-7126
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+408
-7126
lines changed

Firestack.podspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ Pod::Spec.new do |s|
6868
}
6969
end
7070

71+
# s.vendored_frameworks = ['Firebase']
72+
7173
# s.ios.framework = [
7274
# 'SystemConfiguration', 'CFNetwork', 'Security', 'UIKit',
7375
# 'CoreFoundation', 'StoreKit', 'MobileCoreServices',

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ To use Firestack, we'll need to have a development environment that includes the
2424

2525
We need to link the package with our development packaging. We have two options to handle linking:
2626

27+
#### Through CocoaPods
28+
29+
Unfortunately, until we can link cocoapods in a library dynamically, we must use CocoaPods to use Firestack. Although it's not terribly difficult to do, we're stuck with this requirement for the time being.
30+
2731
#### Automatically with [rnpm](https://github.com/rnpm/rnpm)
2832

2933
[rnpm](https://github.com/rnpm/rnpm) is a React Native package manager which can help to automate the process of linking package environments.

ios/Firestack.xcodeproj/project.pbxproj

Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
/* Begin PBXBuildFile section */
1010
D950369E1D19C77400F7094D /* Firestack.m in Sources */ = {isa = PBXBuildFile; fileRef = D950369D1D19C77400F7094D /* Firestack.m */; };
11-
DACB4AE6FDDA39D46068EA78 /* libPods-Firestack.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7C5D39B93A6385579DA9EA2B /* libPods-Firestack.a */; };
1211
/* End PBXBuildFile section */
1312

1413
/* Begin PBXContainerItemProxy section */
@@ -35,9 +34,6 @@
3534

3635
/* Begin PBXFileReference section */
3736
134814201AA4EA6300B7C361 /* libFirestack.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libFirestack.a; sourceTree = BUILT_PRODUCTS_DIR; };
38-
612D3268D15D0E9231997758 /* Pods-Firestack.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Firestack.release.xcconfig"; path = "Pods/Target Support Files/Pods-Firestack/Pods-Firestack.release.xcconfig"; sourceTree = "<group>"; };
39-
7C5D39B93A6385579DA9EA2B /* libPods-Firestack.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Firestack.a"; sourceTree = BUILT_PRODUCTS_DIR; };
40-
CEE8E427185097CF7EF3A3EB /* Pods-Firestack.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Firestack.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Firestack/Pods-Firestack.debug.xcconfig"; sourceTree = "<group>"; };
4137
D950369C1D19C77400F7094D /* Firestack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Firestack.h; path = Firestack/Firestack.h; sourceTree = "<group>"; };
4238
D950369D1D19C77400F7094D /* Firestack.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = Firestack.m; path = Firestack/Firestack.m; sourceTree = "<group>"; };
4339
D95036B31D19C90300F7094D /* Pods.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = Pods.xcodeproj; path = Pods/Pods.xcodeproj; sourceTree = "<group>"; };
@@ -48,7 +44,6 @@
4844
isa = PBXFrameworksBuildPhase;
4945
buildActionMask = 2147483647;
5046
files = (
51-
DACB4AE6FDDA39D46068EA78 /* libPods-Firestack.a in Frameworks */,
5247
);
5348
runOnlyForDeploymentPostprocessing = 0;
5449
};
@@ -67,7 +62,6 @@
6762
isa = PBXGroup;
6863
children = (
6964
D95036B31D19C90300F7094D /* Pods.xcodeproj */,
70-
7C5D39B93A6385579DA9EA2B /* libPods-Firestack.a */,
7165
);
7266
name = Frameworks;
7367
sourceTree = "<group>";
@@ -78,24 +72,14 @@
7872
D950369C1D19C77400F7094D /* Firestack.h */,
7973
D950369D1D19C77400F7094D /* Firestack.m */,
8074
134814211AA4EA7D00B7C361 /* Products */,
81-
6FD8667D22972EC49DB4BE7E /* Pods */,
8275
4C361DE13748C14BF1F87624 /* Frameworks */,
8376
);
8477
sourceTree = "<group>";
8578
};
86-
6FD8667D22972EC49DB4BE7E /* Pods */ = {
87-
isa = PBXGroup;
88-
children = (
89-
CEE8E427185097CF7EF3A3EB /* Pods-Firestack.debug.xcconfig */,
90-
612D3268D15D0E9231997758 /* Pods-Firestack.release.xcconfig */,
91-
);
92-
name = Pods;
93-
sourceTree = "<group>";
94-
};
9579
D95036B41D19C90300F7094D /* Products */ = {
9680
isa = PBXGroup;
9781
children = (
98-
D95036B81D19C90300F7094D /* libPods-Firestack.a */,
82+
D95036B81D19C90300F7094D /* Pods_Firestack.framework */,
9983
);
10084
name = Products;
10185
sourceTree = "<group>";
@@ -160,10 +144,10 @@
160144
/* End PBXProject section */
161145

162146
/* Begin PBXReferenceProxy section */
163-
D95036B81D19C90300F7094D /* libPods-Firestack.a */ = {
147+
D95036B81D19C90300F7094D /* Pods_Firestack.framework */ = {
164148
isa = PBXReferenceProxy;
165-
fileType = archive.ar;
166-
path = "libPods-Firestack.a";
149+
fileType = wrapper.framework;
150+
path = Pods_Firestack.framework;
167151
remoteRef = D95036B71D19C90300F7094D /* PBXContainerItemProxy */;
168152
sourceTree = BUILT_PRODUCTS_DIR;
169153
};
@@ -292,7 +276,6 @@
292276
};
293277
58B511F01A9E6C8500147676 /* Debug */ = {
294278
isa = XCBuildConfiguration;
295-
baseConfigurationReference = CEE8E427185097CF7EF3A3EB /* Pods-Firestack.debug.xcconfig */;
296279
buildSettings = {
297280
ENABLE_BITCODE = NO;
298281
FRAMEWORK_SEARCH_PATHS = (
@@ -309,13 +292,15 @@
309292
"$(SRCROOT)/../../node_modules/react-native/React/**",
310293
"$(SRCROOT)/../../react-native/React/**",
311294
);
295+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
312296
LIBRARY_SEARCH_PATHS = "$(inherited)";
313-
MACH_O_TYPE = mh_dylib;
297+
MACH_O_TYPE = staticlib;
314298
ONLY_ACTIVE_ARCH = YES;
315299
OTHER_LDFLAGS = (
316300
"$(inherited)",
317301
"-undefined",
318302
dynamic_lookup,
303+
"-lc++",
319304
);
320305
PRODUCT_NAME = Firestack;
321306
SKIP_INSTALL = YES;
@@ -324,7 +309,6 @@
324309
};
325310
58B511F11A9E6C8500147676 /* Release */ = {
326311
isa = XCBuildConfiguration;
327-
baseConfigurationReference = 612D3268D15D0E9231997758 /* Pods-Firestack.release.xcconfig */;
328312
buildSettings = {
329313
ENABLE_BITCODE = NO;
330314
FRAMEWORK_SEARCH_PATHS = (
@@ -341,12 +325,14 @@
341325
"$(SRCROOT)/../../node_modules/react-native/React/**",
342326
"$(SRCROOT)/../../react-native/React/**",
343327
);
328+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
344329
LIBRARY_SEARCH_PATHS = "$(inherited)";
345-
MACH_O_TYPE = mh_dylib;
330+
MACH_O_TYPE = staticlib;
346331
OTHER_LDFLAGS = (
347332
"$(inherited)",
348333
"-undefined",
349334
dynamic_lookup,
335+
"-lc++",
350336
);
351337
PRODUCT_NAME = Firestack;
352338
SKIP_INSTALL = YES;

ios/Firestack/Firestack.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
// Copyright © 2016 Facebook. All rights reserved.
55
//
66

7-
#import <UIKit/UIKit.h>
7+
// #import <UIKit/UIKit.h>
88
#import <Firebase.h>
9-
#import "RCTBridgeModule.h"
10-
#import "RCTEventDispatcher.h"
9+
#import <RCTBridgeModule.h>
10+
#import <RCTEventDispatcher.h>
1111

1212
@interface Firestack : NSObject <RCTBridgeModule> {
1313
FIRAuthStateDidChangeListenerHandle authListenerHandle;
@@ -16,5 +16,6 @@
1616
@property (nonatomic) BOOL debug;
1717
@property (atomic) BOOL configured;
1818
@property (nonatomic, strong) NSDictionary *configuration;
19+
@property (nonatomic, strong) FIRRemoteConfig *remoteConfigInstance;
1920

2021
@end

0 commit comments

Comments
 (0)