Skip to content

Commit 8229fe8

Browse files
committed
Merge pull request #7 from surialabs/fix/add_browser_switch_setup
Added browser switch setup for paypal url scheme
2 parents 5cea391 + 0ce963a commit 8229fe8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/main/AndroidManifest.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,16 @@
44
<uses-permission android:name="android.permission.INTERNET" />
55

66
<application android:allowBackup="true" android:label="@string/app_name">
7+
<activity android:name="com.braintreepayments.api.BraintreeBrowserSwitchActivity"
8+
android:launchMode="singleTask"
9+
android:theme="@android:style/Theme.Translucent.NoTitleBar">
10+
<intent-filter>
11+
<action android:name="android.intent.action.VIEW" />
12+
<category android:name="android.intent.category.DEFAULT" />
13+
<category android:name="android.intent.category.BROWSABLE" />
14+
<data android:scheme="${applicationId}.braintree" />
15+
</intent-filter>
16+
</activity>
717
</application>
818
</manifest>
19+

0 commit comments

Comments
 (0)