android.permission.SEND_SMS以前的功能问题

问题描述 投票:-3回答:2

对于Google的新政策,我决定删除此功能以在我的应用中发送短信。我在清单中删除了android.permission.SEND_SMS,以及有关SMS的所有代码。我的问题是......我无法更新我的应用程序。总是控制台问我在我的应用程序中使用SMS功能的原因。没有办法解决问题。有人可以帮帮我吗?谢谢。

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="app.MyApp.firstrelease"
    android:installLocation="internalOnly"
    android:versionCode="26"
    android:versionName="4.5">

    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

    <uses-permission android:name="com.android.vending.BILLING" />
    <application
        android:icon="@mipmap/app_icon"
        android:label="@string/app_name"
        android:theme="@android:style/Theme.Black.NoTitleBar">
        <activity
            android:name=".MyApp"
            android:label="@string/app_name"
            android:screenOrientation="portrait">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>
android sms
2个回答
1
投票

我遇到了类似的问题。我使用alpha通道解决问题,然后从alpha转发到prod。所以我认为这是一个谷歌控制台错误。我的诀窍就是解决方法。


0
投票

您应该填写许可声明表

按照以下步骤操作

  1. 转到Google Play开发者控制台
  2. 选择Release Management,然后选择App Releases。
  3. 单击“创建发布”按钮
  4. 上传没有短信权限的新apk
  5. [重要]单击以前的RETAIN(包含SMS权限的版本)版本 - 将显示内联权限声明表单。
  6. 在“许可声明表”中,在“合规性”状态下(此版本是否符合SMS和呼叫记录权限策略?如果选择“否”,则可以在不选择任何核心功能的情况下提交表单。),选择否,此版本不符合SMS和呼叫记录权限策略
  7. 选中声明下的所有复选框(通过提交此权限声明表,我确认)。
  8. 单击保存然后单击审核按钮 您将导航到Review and rollout屏幕,最后将启用Rollout按钮。

为了删除保留的版本(从步骤5 - 包含SMS权限的版本),您可以创建另一个版本(具有更高版本的APK) - 您可以在其中停用任何以前的版本

© www.soinside.com 2019 - 2024. All rights reserved.