You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -169,12 +148,6 @@ In addition, we'll need to set up the handlers within the iOS app. Add the follo
169
148
170
149
When our app loads up with a request that is coming back from OAuthManager _and_ matches the url pattern, OAuthManager will take over and handle the rest and storing the credentials for later use.
171
150
172
-
### Android setup
173
-
174
-
After we link `react-native-oauth` to our application, we're ready to go. Android integration is much simpler, thanks to the in-app browser ability for our apps. `react-native-oauth` handles this for you.
175
-
176
-
One note, *all* of the callback urls follow the scheme: `http://localhost/[provider_name]`. Make sure this is set as a configuration for each provider below (documented in the provider setup sections).
177
-
178
151
### Adding URL schemes
179
152
180
153
In order for our app to load through these callbacks, we need to tell our iOS app that we want to load them. In order to do that, we'll have to create some URL schemes to register our app. Some providers require specific schemes (mentioned later).
@@ -187,6 +160,12 @@ Let's add the appropriate one for our provider. For instance, to set up twitter,
187
160
188
161

189
162
163
+
### Android setup
164
+
165
+
After we link `react-native-oauth` to our application, we're ready to go. Android integration is much simpler, thanks to the in-app browser ability for our apps. `react-native-oauth` handles this for you.
166
+
167
+
One note, *all* of the callback urls follow the scheme: `http://localhost/[provider_name]`. Make sure this is set as a configuration for each provider below (documented in the provider setup sections).
168
+
190
169
## Creating the manager
191
170
192
171
In our JS, we can create the manager by instantiating a new instance of it using the `new` method and passing it the name of our app:
0 commit comments