Skip to content

Commit

Permalink
Add mobile deeplinking support for domain to rnbwapp.com (#788)
Browse files Browse the repository at this point in the history
* add support for rnwbapp.com deeplinks

* add .app.link domains
  • Loading branch information
brunobar79 authored Jun 16, 2020
1 parent dd6d3d3 commit 625a9df
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
5 changes: 4 additions & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" android:host="rnbwapp.com" />
<data android:scheme="https" android:host="rnbw.app" />
<data android:scheme="https" android:host="rainbowdotme.app.link" />
<data android:scheme="https" android:host="rnbwappdotcom.app.link" />
<data android:scheme="https" android:host="rainbowdotme-alternate.app.link" />
<data android:scheme="https" android:host="rnbwappdotcom-alternate.app.link" />
</intent-filter>
<intent-filter>
<data android:scheme="rainbow" />
Expand All @@ -49,7 +52,7 @@
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" android:host="rnbw.app" />
<data android:scheme="https" android:host="rnbwapp.com" />
</intent-filter>
</activity>
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
Expand Down
3 changes: 3 additions & 0 deletions ios/Rainbow/Rainbow.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
<string>development</string>
<key>com.apple.developer.associated-domains</key>
<array>
<string>applinks:rnbwapp.com</string>
<string>applinks:rnbw.app</string>
<string>applinks:rnbwappdotcom.app.link</string>
<string>applinks:rnbwappdotcom-alternate.app.link</string>
<string>applinks:rainbowdotme.app.link</string>
<string>applinks:rainbowdotme-alternate.app.link</string>
</array>
Expand Down
3 changes: 3 additions & 0 deletions ios/Rainbow/RainbowDebug.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
<string>development</string>
<key>com.apple.developer.associated-domains</key>
<array>
<string>applinks:rnbwapp.com</string>
<string>applinks:rnbw.app</string>
<string>applinks:rnbwappdotcom.app.link</string>
<string>applinks:rnbwappdotcom-alternate.app.link</string>
<string>applinks:rainbowdotme.app.link</string>
<string>applinks:rainbowdotme-alternate.app.link</string>
</array>
Expand Down
3 changes: 3 additions & 0 deletions ios/Rainbow/RainbowRelease.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
<string>development</string>
<key>com.apple.developer.associated-domains</key>
<array>
<string>applinks:rnbwapp.com</string>
<string>applinks:rnbw.app</string>
<string>applinks:rnbwappdotcom.app.link</string>
<string>applinks:rnbwappdotcom-alternate.app.link</string>
<string>applinks:rainbowdotme.app.link</string>
<string>applinks:rainbowdotme-alternate.app.link</string>
</array>
Expand Down

0 comments on commit 625a9df

Please sign in to comment.