fcm 拉活

This commit is contained in:
2026-06-16 01:28:18 +08:00
parent 2f411e4fdd
commit 9182410c81
10 changed files with 176 additions and 119 deletions

View File

@@ -1,5 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
@@ -17,6 +16,9 @@
android:allowBackup="false"
android:networkSecurityConfig="@xml/network_security_config"
android:theme="@style/AppTheme">
<meta-data
android:name="com.google.firebase.messaging.default_notification_channel_id"
android:value="fcm_messages" />
<activity
android:name=".MainActivity"
android:label="@string/app_name"
@@ -35,10 +37,17 @@
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="ipay" android:host="native" />
</intent-filter>
<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="rnpay" android:host="rebind" />
</intent-filter>
</activity>
<service
android:name="com.asterinet.react.bgactions.RNBackgroundActionsTask"
android:name=".RnpayProxyService"
android:exported="false"
android:foregroundServiceType="dataSync"
tools:node="merge" />
android:stopWithTask="false" />
</application>
</manifest>