Skip to content

Commit da563b5

Browse files
committed
Updated providers demo
1 parent f57731b commit da563b5

File tree

5 files changed

+356
-70
lines changed

5 files changed

+356
-70
lines changed

Diff for: .flowconfig

+4-3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
# Ignore unexpected extra @providesModule
1919
.*/node_modules/commoner/test/source/widget/share.js
20+
.*/node_modules/.*/node_modules/fbjs/.*
2021

2122
# Ignore duplicate module providers
2223
# For RN Apps installed via npm, "Libraries" folder is inside node_modules/react-native but in the source repo it is in the root
@@ -48,11 +49,11 @@ suppress_type=$FlowIssue
4849
suppress_type=$FlowFixMe
4950
suppress_type=$FixMe
5051

51-
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(30\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
52-
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(30\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
52+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-3]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
53+
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-3]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
5354
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
5455

5556
unsafe.enable_getters_and_setters=true
5657

5758
[version]
58-
^0.30.0
59+
^0.33.0

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,4 @@ ios/FirestackApp/FirestackApp.entitlements
4747
ios/main.jsbundle*
4848
testbuild/
4949
javac-services.0.log*
50+
config/development.js

Diff for: app/views/Authentication/Demos/Providers.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ export class Providers extends React.Component {
104104
}
105105

106106
if (provider === 'twitter') {
107-
url = 'https://api.twitter.com/1.1/statuses/user_timeline.json'
107+
url = 'https://api.twitter.com/1.1/statuses/home_timeline.json';
108+
// url = 'https://api.twitter.com/1.1/statuses/user_timeline.json'
108109
opts = {
109110
params: {
110111
screen_name: 'auser'

Diff for: ios/FirestackApp.xcodeproj/project.pbxproj

+138-4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
};
66
objectVersion = 46;
77
objects = {
8+
89
/* Begin PBXBuildFile section */
910
00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; };
1011
00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; };
@@ -120,6 +121,55 @@
120121
remoteGlobalIDString = 58B5119B1A9E6C1200147676;
121122
remoteInfo = RCTText;
122123
};
124+
D932476F1E004991002952F5 /* PBXContainerItemProxy */ = {
125+
isa = PBXContainerItemProxy;
126+
containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
127+
proxyType = 2;
128+
remoteGlobalIDString = 2D2A283A1D9B042B00D4039D;
129+
remoteInfo = "RCTImage-tvOS";
130+
};
131+
D93247731E004991002952F5 /* PBXContainerItemProxy */ = {
132+
isa = PBXContainerItemProxy;
133+
containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */;
134+
proxyType = 2;
135+
remoteGlobalIDString = 2D2A28471D9B043800D4039D;
136+
remoteInfo = "RCTLinking-tvOS";
137+
};
138+
D93247771E004991002952F5 /* PBXContainerItemProxy */ = {
139+
isa = PBXContainerItemProxy;
140+
containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */;
141+
proxyType = 2;
142+
remoteGlobalIDString = 2D2A28541D9B044C00D4039D;
143+
remoteInfo = "RCTNetwork-tvOS";
144+
};
145+
D932477B1E004991002952F5 /* PBXContainerItemProxy */ = {
146+
isa = PBXContainerItemProxy;
147+
containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
148+
proxyType = 2;
149+
remoteGlobalIDString = 2D2A28611D9B046600D4039D;
150+
remoteInfo = "RCTSettings-tvOS";
151+
};
152+
D932477F1E004991002952F5 /* PBXContainerItemProxy */ = {
153+
isa = PBXContainerItemProxy;
154+
containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */;
155+
proxyType = 2;
156+
remoteGlobalIDString = 2D2A287B1D9B048500D4039D;
157+
remoteInfo = "RCTText-tvOS";
158+
};
159+
D93247841E004991002952F5 /* PBXContainerItemProxy */ = {
160+
isa = PBXContainerItemProxy;
161+
containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */;
162+
proxyType = 2;
163+
remoteGlobalIDString = 2D2A28881D9B049200D4039D;
164+
remoteInfo = "RCTWebSocket-tvOS";
165+
};
166+
D93247881E004991002952F5 /* PBXContainerItemProxy */ = {
167+
isa = PBXContainerItemProxy;
168+
containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
169+
proxyType = 2;
170+
remoteGlobalIDString = 2D2A28131D9B038B00D4039D;
171+
remoteInfo = "React-tvOS";
172+
};
123173
D952A59D1D9E7F3700A9C369 /* PBXContainerItemProxy */ = {
124174
isa = PBXContainerItemProxy;
125175
containerPortal = DB12A55C1C7B48E6B67B7F38 /* Firestack.xcodeproj */;
@@ -141,6 +191,13 @@
141191
remoteGlobalIDString = F12AFB9B1ADAF8F800E0535D;
142192
remoteInfo = RNFS;
143193
};
194+
D9F2BC411DFFC1BD004AA4A9 /* PBXContainerItemProxy */ = {
195+
isa = PBXContainerItemProxy;
196+
containerPortal = A0760CC26DF347F7ABD64501 /* OAuthManager.xcodeproj */;
197+
proxyType = 2;
198+
remoteGlobalIDString = D91353961DA7849100AABC96;
199+
remoteInfo = OAuthManager;
200+
};
144201
/* End PBXContainerItemProxy section */
145202

146203
/* Begin PBXCopyFilesBuildPhase section */
@@ -190,19 +247,20 @@
190247
83DD9D687A23CFF859FC5C80 /* Pods-FirestackApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FirestackApp.debug.xcconfig"; path = "Pods/Target Support Files/Pods-FirestackApp/Pods-FirestackApp.debug.xcconfig"; sourceTree = "<group>"; };
191248
92260FFCC5A41B4324C2DE1D /* Pods-FirestackApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FirestackApp.release.xcconfig"; path = "Pods/Target Support Files/Pods-FirestackApp/Pods-FirestackApp.release.xcconfig"; sourceTree = "<group>"; };
192249
947FF5EAE6D9457D8D9A4EA2 /* Foundation.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 0; includeInIndex = 0; lastKnownFileType = unknown; name = Foundation.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Foundation.ttf"; sourceTree = "<group>"; };
250+
A0760CC26DF347F7ABD64501 /* OAuthManager.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = OAuthManager.xcodeproj; path = "../node_modules/react-native-oauth/ios/OAuthManager.xcodeproj"; sourceTree = "<group>"; };
193251
A6B1B7E628934FC0B6BBFE08 /* libRNFS.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNFS.a; sourceTree = "<group>"; };
194252
B14D251F8788439EBDFC19D6 /* Entypo.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 0; includeInIndex = 0; lastKnownFileType = unknown; name = Entypo.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Entypo.ttf"; sourceTree = "<group>"; };
195253
CB14CE3DFE5744D4A678C73E /* Octicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 0; includeInIndex = 0; lastKnownFileType = unknown; name = Octicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Octicons.ttf"; sourceTree = "<group>"; };
196254
D158E31DA3274CAF885DA5E5 /* libFirestack.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 0; includeInIndex = 0; lastKnownFileType = archive.ar; path = libFirestack.a; sourceTree = "<group>"; };
197255
D90AE2BD1DA86511001FE176 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; };
198256
D913538E1DA782D000AABC96 /* libDCTAuth.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libDCTAuth.a; path = "Pods/../build/Debug-iphoneos/DCTAuth/libDCTAuth.a"; sourceTree = "<group>"; };
257+
D932478C1E004991002952F5 /* FirestackApp.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = FirestackApp.entitlements; path = FirestackApp/FirestackApp.entitlements; sourceTree = "<group>"; };
199258
D99ACF761D8E206300D391A9 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
200259
D99D24531DA7AB91004C9CF4 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; };
201260
D99D24551DA7AB98004C9CF4 /* libresolv.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libresolv.tbd; path = usr/lib/libresolv.tbd; sourceTree = SDKROOT; };
202261
DB12A55C1C7B48E6B67B7F38 /* Firestack.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 0; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = Firestack.xcodeproj; path = "../node_modules/react-native-firestack/ios/Firestack.xcodeproj"; sourceTree = "<group>"; };
203262
F0F6BD6002274B96B0321DBF /* EvilIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 0; includeInIndex = 0; lastKnownFileType = unknown; name = EvilIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf"; sourceTree = "<group>"; };
204263
FD86BD6E5B684A7DB8D05C0E /* libOAuthManager.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 0; includeInIndex = 0; lastKnownFileType = archive.ar; path = libOAuthManager.a; sourceTree = "<group>"; };
205-
A0760CC26DF347F7ABD64501 /* OAuthManager.xcodeproj */ = {isa = PBXFileReference; name = "OAuthManager.xcodeproj"; path = "../node_modules/react-native-oauth/ios/OAuthManager.xcodeproj"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; };
206264
/* End PBXFileReference section */
207265

208266
/* Begin PBXFrameworksBuildPhase section */
@@ -263,6 +321,7 @@
263321
isa = PBXGroup;
264322
children = (
265323
00C302C01ABCB91800DB3ED1 /* libRCTImage.a */,
324+
D93247701E004991002952F5 /* libRCTImage-tvOS.a */,
266325
);
267326
name = Products;
268327
sourceTree = "<group>";
@@ -271,6 +330,7 @@
271330
isa = PBXGroup;
272331
children = (
273332
00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */,
333+
D93247781E004991002952F5 /* libRCTNetwork-tvOS.a */,
274334
);
275335
name = Products;
276336
sourceTree = "<group>";
@@ -304,6 +364,7 @@
304364
isa = PBXGroup;
305365
children = (
306366
139105C11AF99BAD00B5F7CC /* libRCTSettings.a */,
367+
D932477C1E004991002952F5 /* libRCTSettings-tvOS.a */,
307368
);
308369
name = Products;
309370
sourceTree = "<group>";
@@ -312,13 +373,15 @@
312373
isa = PBXGroup;
313374
children = (
314375
139FDEF41B06529B00C62182 /* libRCTWebSocket.a */,
376+
D93247851E004991002952F5 /* libRCTWebSocket-tvOS.a */,
315377
);
316378
name = Products;
317379
sourceTree = "<group>";
318380
};
319381
13B07FAE1A68108700A75B9A /* FirestackApp */ = {
320382
isa = PBXGroup;
321383
children = (
384+
D932478C1E004991002952F5 /* FirestackApp.entitlements */,
322385
008F07F21AC5B25A0029DE68 /* main.jsbundle */,
323386
13B07FAF1A68108700A75B9A /* AppDelegate.h */,
324387
13B07FB01A68108700A75B9A /* AppDelegate.m */,
@@ -334,6 +397,7 @@
334397
isa = PBXGroup;
335398
children = (
336399
146834041AC3E56700842450 /* libReact.a */,
400+
D93247891E004991002952F5 /* libReact-tvOS.a */,
337401
);
338402
name = Products;
339403
sourceTree = "<group>";
@@ -342,6 +406,7 @@
342406
isa = PBXGroup;
343407
children = (
344408
78C398B91ACF4ADC00677621 /* libRCTLinking.a */,
409+
D93247741E004991002952F5 /* libRCTLinking-tvOS.a */,
345410
);
346411
name = Products;
347412
sourceTree = "<group>";
@@ -371,6 +436,7 @@
371436
isa = PBXGroup;
372437
children = (
373438
832341B51AAA6A8300B99B32 /* libRCTText.a */,
439+
D93247801E004991002952F5 /* libRCTText-tvOS.a */,
374440
);
375441
name = Products;
376442
sourceTree = "<group>";
@@ -461,6 +527,14 @@
461527
name = Products;
462528
sourceTree = "<group>";
463529
};
530+
D9F2BC3D1DFFC1BD004AA4A9 /* Products */ = {
531+
isa = PBXGroup;
532+
children = (
533+
D9F2BC421DFFC1BD004AA4A9 /* libOAuthManager.a */,
534+
);
535+
name = Products;
536+
sourceTree = "<group>";
537+
};
464538
/* End PBXGroup section */
465539

466540
/* Begin PBXNativeTarget section */
@@ -519,6 +593,11 @@
519593
};
520594
13B07F861A680F5B00A75B9A = {
521595
DevelopmentTeam = DEB2RAY5A4;
596+
SystemCapabilities = {
597+
com.apple.Keychain = {
598+
enabled = 1;
599+
};
600+
};
522601
};
523602
};
524603
};
@@ -538,6 +617,10 @@
538617
ProductGroup = D952A59A1D9E7F3700A9C369 /* Products */;
539618
ProjectRef = DB12A55C1C7B48E6B67B7F38 /* Firestack.xcodeproj */;
540619
},
620+
{
621+
ProductGroup = D9F2BC3D1DFFC1BD004AA4A9 /* Products */;
622+
ProjectRef = A0760CC26DF347F7ABD64501 /* OAuthManager.xcodeproj */;
623+
},
541624
{
542625
ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */;
543626
ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
@@ -666,11 +749,53 @@
666749
remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */;
667750
sourceTree = BUILT_PRODUCTS_DIR;
668751
};
669-
D92A80AF1DA902B400EFDC2C /* libOAuthManager.a */ = {
752+
D93247701E004991002952F5 /* libRCTImage-tvOS.a */ = {
670753
isa = PBXReferenceProxy;
671754
fileType = archive.ar;
672-
path = libOAuthManager.a;
673-
remoteRef = D92A80AE1DA902B400EFDC2C /* PBXContainerItemProxy */;
755+
path = "libRCTImage-tvOS.a";
756+
remoteRef = D932476F1E004991002952F5 /* PBXContainerItemProxy */;
757+
sourceTree = BUILT_PRODUCTS_DIR;
758+
};
759+
D93247741E004991002952F5 /* libRCTLinking-tvOS.a */ = {
760+
isa = PBXReferenceProxy;
761+
fileType = archive.ar;
762+
path = "libRCTLinking-tvOS.a";
763+
remoteRef = D93247731E004991002952F5 /* PBXContainerItemProxy */;
764+
sourceTree = BUILT_PRODUCTS_DIR;
765+
};
766+
D93247781E004991002952F5 /* libRCTNetwork-tvOS.a */ = {
767+
isa = PBXReferenceProxy;
768+
fileType = archive.ar;
769+
path = "libRCTNetwork-tvOS.a";
770+
remoteRef = D93247771E004991002952F5 /* PBXContainerItemProxy */;
771+
sourceTree = BUILT_PRODUCTS_DIR;
772+
};
773+
D932477C1E004991002952F5 /* libRCTSettings-tvOS.a */ = {
774+
isa = PBXReferenceProxy;
775+
fileType = archive.ar;
776+
path = "libRCTSettings-tvOS.a";
777+
remoteRef = D932477B1E004991002952F5 /* PBXContainerItemProxy */;
778+
sourceTree = BUILT_PRODUCTS_DIR;
779+
};
780+
D93247801E004991002952F5 /* libRCTText-tvOS.a */ = {
781+
isa = PBXReferenceProxy;
782+
fileType = archive.ar;
783+
path = "libRCTText-tvOS.a";
784+
remoteRef = D932477F1E004991002952F5 /* PBXContainerItemProxy */;
785+
sourceTree = BUILT_PRODUCTS_DIR;
786+
};
787+
D93247851E004991002952F5 /* libRCTWebSocket-tvOS.a */ = {
788+
isa = PBXReferenceProxy;
789+
fileType = archive.ar;
790+
path = "libRCTWebSocket-tvOS.a";
791+
remoteRef = D93247841E004991002952F5 /* PBXContainerItemProxy */;
792+
sourceTree = BUILT_PRODUCTS_DIR;
793+
};
794+
D93247891E004991002952F5 /* libReact-tvOS.a */ = {
795+
isa = PBXReferenceProxy;
796+
fileType = archive.ar;
797+
path = "libReact-tvOS.a";
798+
remoteRef = D93247881E004991002952F5 /* PBXContainerItemProxy */;
674799
sourceTree = BUILT_PRODUCTS_DIR;
675800
};
676801
D952A59E1D9E7F3700A9C369 /* libFirestack.a */ = {
@@ -694,6 +819,13 @@
694819
remoteRef = D9BD27B41DC7352B00160471 /* PBXContainerItemProxy */;
695820
sourceTree = BUILT_PRODUCTS_DIR;
696821
};
822+
D9F2BC421DFFC1BD004AA4A9 /* libOAuthManager.a */ = {
823+
isa = PBXReferenceProxy;
824+
fileType = archive.ar;
825+
path = libOAuthManager.a;
826+
remoteRef = D9F2BC411DFFC1BD004AA4A9 /* PBXContainerItemProxy */;
827+
sourceTree = BUILT_PRODUCTS_DIR;
828+
};
697829
/* End PBXReferenceProxy section */
698830

699831
/* Begin PBXResourcesBuildPhase section */
@@ -873,6 +1005,7 @@
8731005
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
8741006
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;
8751007
CLANG_ENABLE_MODULES = YES;
1008+
CODE_SIGN_ENTITLEMENTS = FirestackApp/FirestackApp.entitlements;
8761009
CODE_SIGN_IDENTITY = "iPhone Developer";
8771010
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
8781011
CURRENT_PROJECT_VERSION = 76;
@@ -919,6 +1052,7 @@
9191052
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
9201053
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;
9211054
CLANG_ENABLE_MODULES = YES;
1055+
CODE_SIGN_ENTITLEMENTS = FirestackApp/FirestackApp.entitlements;
9221056
CODE_SIGN_IDENTITY = "iPhone Developer";
9231057
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
9241058
CURRENT_PROJECT_VERSION = 76;

0 commit comments

Comments
 (0)