Skip to content

Commit b4102e4

Browse files
committedSep 7, 2018
single package.json file at the root
1 parent 22df03d commit b4102e4

File tree

10 files changed

+9026
-33
lines changed

10 files changed

+9026
-33
lines changed
 

‎.babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"presets": ["react-native"]
2+
"presets": ["react-native", "es2015", "stage-0"]
33
}

‎README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,18 @@
22

33
Learn how to log users into React Native apps via Facebook or Google OAuth.
44

5+
make sure to activate port forwarding in your browser: ie - `chrome://inspect/#devices`
6+
7+
npm run server
8+
9+
npm run android
10+
or
11+
npm run ios
12+
513
## Tutorial
614

715
Read the full tutorial here http://rationalappdev.com/logging-into-react-native-apps-with-facebook-or-google
816

917
## Demo
1018

11-
<img src="https://github.com/rationalappdev/oauth-login/blob/master/demo.gif" alt="Demo" width="640" />
19+
<img src="https://github.com/rationalappdev/oauth-login/blob/master/demo.gif" alt="Demo" width="640" />
54 KB
Binary file not shown.
Binary file not shown.
92 Bytes
Binary file not shown.

‎backend/package.json

-26
This file was deleted.

‎ios/OAuthLogin.xcodeproj/project.pbxproj

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
};
66
objectVersion = 46;
77
objects = {
8-
98
/* Begin PBXBuildFile section */
109
00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; };
1110
00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; };
@@ -48,6 +47,7 @@
4847
D9F8854463334EB6BD86AD54 /* SimpleLineIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = EF259882654D4D4E912C9C0C /* SimpleLineIcons.ttf */; };
4948
E9577C24AF91495EBD21215E /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = FE13A27E01694416A02C3C6C /* FontAwesome.ttf */; };
5049
E971C0A438C04B918E75CEDB /* Entypo.ttf in Resources */ = {isa = PBXBuildFile; fileRef = E85CDDDBAC2B4C87BAE92CF9 /* Entypo.ttf */; };
50+
9514921F259447C0A7BA8C84 /* Feather.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 768E0AD45CD641018A6F6033 /* Feather.ttf */; };
5151
/* End PBXBuildFile section */
5252

5353
/* Begin PBXContainerItemProxy section */
@@ -310,6 +310,7 @@
310310
E85CDDDBAC2B4C87BAE92CF9 /* Entypo.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Entypo.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Entypo.ttf"; sourceTree = "<group>"; };
311311
EF259882654D4D4E912C9C0C /* SimpleLineIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = SimpleLineIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf"; sourceTree = "<group>"; };
312312
FE13A27E01694416A02C3C6C /* FontAwesome.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf"; sourceTree = "<group>"; };
313+
768E0AD45CD641018A6F6033 /* Feather.ttf */ = {isa = PBXFileReference; name = "Feather.ttf"; path = "../node_modules/react-native-vector-icons/Fonts/Feather.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
313314
/* End PBXFileReference section */
314315

315316
/* Begin PBXFrameworksBuildPhase section */
@@ -485,6 +486,7 @@
485486
2BEB0FEC3617492098E2A8B5 /* Octicons.ttf */,
486487
EF259882654D4D4E912C9C0C /* SimpleLineIcons.ttf */,
487488
1AE026C0ABEA443B830249EA /* Zocial.ttf */,
489+
768E0AD45CD641018A6F6033 /* Feather.ttf */,
488490
);
489491
name = Resources;
490492
sourceTree = "<group>";
@@ -994,6 +996,7 @@
994996
305C0E331B874B10A44E5388 /* Octicons.ttf in Resources */,
995997
D9F8854463334EB6BD86AD54 /* SimpleLineIcons.ttf in Resources */,
996998
43DA04846BC24DBB9A12D45E /* Zocial.ttf in Resources */,
999+
9514921F259447C0A7BA8C84 /* Feather.ttf in Resources */,
9971000
);
9981001
runOnlyForDeploymentPostprocessing = 0;
9991002
};

‎ios/OAuthLogin/Info.plist

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
</dict>
5050
</dict>
5151
<key>NSLocationWhenInUseUsageDescription</key>
52-
<string></string>
52+
<string/>
5353
<key>UIAppFonts</key>
5454
<array>
5555
<string>Entypo.ttf</string>
@@ -62,6 +62,7 @@
6262
<string>Octicons.ttf</string>
6363
<string>SimpleLineIcons.ttf</string>
6464
<string>Zocial.ttf</string>
65+
<string>Feather.ttf</string>
6566
</array>
6667
<key>UILaunchStoryboardName</key>
6768
<string>LaunchScreen</string>

0 commit comments

Comments
 (0)