Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 015dc9a

Browse files
readability
1 parent dae5fda commit 015dc9a

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/AUTHENTICATION.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,19 @@ Then add the following lines to your code and check for setup instructions for y
204204
#### Android
205205

206206
1. Uncomment the facebook SDK in `node_modules\nativescript-plugin-firebase\platforms\android\include.gradle`
207-
2. Add `<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>` to the `manifest/application tag` in `app\App_Resources\Android\AndroidManifest.xml`
207+
2. Add `<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>` to the `manifest/application tag` in `app\App_Resources\Android\AndroidManifest.xml`, so it becomes similar to this:
208+
209+
```xml
210+
<application
211+
android:name="com.tns.NativeScriptApplication"
212+
..>
213+
214+
<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>
215+
216+
<activity
217+
android:name="com.tns.NativeScriptActivity"
218+
..>
219+
```
208220
3. Create a file `app\App_Resources\Android\facebooklogin.xml` and add this (replace the id):
209221

210222
```xml

0 commit comments

Comments
 (0)