我的清单和Braintree paypal验证有什么问题?
我正在使用本机脚本进行支付,在添加了所有类似于说明的内容后,出现了错误:我的清单和Braintree paypal验证有什么问题?,paypal,nativescript,android-manifest,native,nativescript-angular,Paypal,Nativescript,Android Manifest,Native,Nativescript Angular,我正在使用本机脚本进行支付,在添加了所有类似于说明的内容后,出现了错误: com.braintreepayments.api.exceptions.BraintreeException: BraintreeBrowserSwitchActivity missing, incorrectly configured in AndroidManifest.xml or another app defines the same browser switch url as this app. See ht
com.braintreepayments.api.exceptions.BraintreeException: BraintreeBrowserSwitchActivity missing, incorrectly configured in AndroidManifest.xml or another app defines the same browser switch url as this app. See https://developers.braintreepayments.com/guides/client-sdk/android/v2#browser-switch for the correct configuration
是的,我一直在寻找解决办法,但是重新制作我的清单对我来说不起作用。我不知道该怎么办,因为每个问题都以modyfying manifest结尾。。。即使我改变
<data android:scheme="com.tns.NativeScriptApplication${applicationId}.braintree"/>
为了
我的舱单:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.nativescript.MobileApplication"
android:versionCode="10000"
android:versionName="1.0">
<supports-screens
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.INTERNET"/>
<application
android:usesCleartextTraffic="true"
android:name="com.tns.NativeScriptApplication"
android:allowBackup="true"
android:icon="@drawable/icon"
android:label="@string/app_name"
android:theme="@style/AppTheme">
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="@string/nativescript_google_maps_api_key" />
<activity
android:name="com.tns.NativeScriptActivity"
android:label="@string/title_activity_kimera"
那我该怎么办?如果您有一些想法,请帮助我,致以最诚挚的问候。或者您是否有任何简单的教程,指导如何以PayPal中不必要的另一种方式付款?我需要一些快速思考,使在沙盒你能确认你正在使用哪个插件目前?你是在设备/模拟器测试?您是否在设备/模拟器上安装了包含此插件的其他应用程序?@Manoj我正在android emulator上测试。插件通过tns add Plugin pluginname安装。在symulator上,我没有其他应用程序。此外,我正在使用谷歌地图sdk插件谷歌地图,这是完美的工作。@Manoj的实际插件是贝宝结帐从
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.nativescript.MobileApplication"
android:versionCode="10000"
android:versionName="1.0">
<supports-screens
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.INTERNET"/>
<application
android:usesCleartextTraffic="true"
android:name="com.tns.NativeScriptApplication"
android:allowBackup="true"
android:icon="@drawable/icon"
android:label="@string/app_name"
android:theme="@style/AppTheme">
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="@string/nativescript_google_maps_api_key" />
<activity
android:name="com.tns.NativeScriptActivity"
android:label="@string/title_activity_kimera"
<meta-data
android:name="SET_THEME_ON_LAUNCH"
android:resource="@style/AppTheme" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.tns.ErrorReportActivity"/>
<activity android:name="com.braintreepayments.api.BraintreeBrowserSwitchActivity"
android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="com.tns.NativeScriptApplication${applicationId}.braintree"/>
</intent-filter>
</activity>
</application>