Skip to content

Commit 4ea9758

Browse files
authored
docs(example): alter refresh_example to use fb prefix in fb_login_protocol_scheme
1 parent 09233b8 commit 4ea9758

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

refresh-example.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ sed -i -e 's/<\/activity>/<\/activity>\n <activity android:name="com.facebo
100100
rm -f android/app/src/main/AndroidManifest.xml??
101101

102102
# This is required for login to work on android and is listed as a requirement for the iOS SDK
103-
sed -i -e 's/<\/resources>/ <string name="fb_login_protocol_scheme">'${FacebookAppId}'<\/string>\n<\/resources>/' android/app/src/main/res/values/strings.xml
103+
sed -i -e 's/<\/resources>/ <string name="fb_login_protocol_scheme">fb'${FacebookAppId}'<\/string>\n<\/resources>/' android/app/src/main/res/values/strings.xml
104104
rm -f android/app/src/main/res/values/strings.xml??
105105

106106
sed -i -e 's/^<\/dict>/ <key>LSApplicationQueriesSchemes<\/key>\n <array>\n <string>fb-messenger-share-api<\/string>\n <string>fbauth2<\/string>\n <string>fbapi<\/string>\n <\/array>\n<\/dict>/' ios/RNFBSDKExample/Info.plist

0 commit comments

Comments
 (0)