cn.jiguang.plugin.huawei的插件中allowBackup是必须的?

用户5821442
2023-07-04 01:42 25 1
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="cn.jiguang.plugin.huawei"
    android:versionCode="1"
    android:versionName="5.0.4" >

    <uses-sdk
        android:minSdkVersion="9"
        android:targetSdkVersion="21" />

    <application
        android:allowBackup="true"
        android:label="@string/app_name"
        android:supportsRtl="true" >
        <service
            android:name="cn.jpush.android.service.PluginHuaweiPlatformsService"
            android:exported="false" >
            <intent-filter>
                <action android:name="com.huawei.push.action.MESSAGING_EVENT" />
            </intent-filter>
        </service>
    </application>

</manifest>

android:allowBackup="true"是必须的吗?因为允许备份设置为true:允许应用数据在设备中备份,如果设备丢失或被破解,数据可能泄露。

1个回答

热门排序