【问题标题】:Notification from Google Play || Malicious Behavior or User Data policy || Intent Redirection来自 Google Play 的通知 ||恶意行为或用户数据政策 ||意图重定向
【发布时间】:2021-05-02 00:59:14
【问题描述】:

如图片中所述,我的应用程序违反了那里的政策,但我有另一个相同的应用程序,它适用于医生,并且该应用程序使用相同的库和几乎所有与此应用程序相似的东西,但我的医生应用程序仍然被接受,没有任何违规

androidx.fragment.app.FragmentActivity.startActivityForResult 他们说您的 startActivityForResult 对此负责,但我只是调用此行来打开相机和图库。

我已尝试使用升级的 gradle 多次上传我的应用程序,这里有可用的补救措施 https://support.google.com/faqs/answer/9267555 但仍然没有成功。

您也可以参考下图了解更多详情。

我的毕业典礼

buildscript {
    repositories {
        maven { url 'https://plugins.gradle.org/m2/' }
    }
    dependencies {
        classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:0.12.8'
    }
}
apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'

repositories {
    maven { url 'https://maven.google.com' }
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'com.google.firebase.crashlytics'

android {
    compileSdkVersion 29
    defaultConfig {
        applicationId "com.doctoronline.telehealth.patient"
        manifestPlaceholders = [
                onesignal_app_id               : "********-****-****-****-************",
                // Project number pulled from dashboard, local value is ignored.
                onesignal_google_project_number: "REMOTE"
        ]
        minSdkVersion 21
        targetSdkVersion 29
        versionCode 44
        versionName "1.0.24.1"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        vectorDrawables.useSupportLibrary = true
    }
    buildFeatures {
        viewBinding = true
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }

    lintOptions {
        checkReleaseBuilds false
    }

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8

        kotlinOptions {
            jvmTarget = '1.8'
        }
    }
}

buildscript {
    repositories {
        mavenCentral()
        google()
    }
    dependencies {
        //noinspection GradlePluginVersion
        classpath 'com.android.tools.build:gradle:0.6.+'

    }
}
repositories {
    mavenCentral()

}

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
    implementation 'androidx.appcompat:appcompat:1.2.0'
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
    implementation 'com.google.android.material:material:1.1.0'
    implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test:runner:1.3.0'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
    implementation 'de.hdodenhof:circleimageview:3.1.0'
    implementation 'org.java-websocket:Java-WebSocket:1.3.9'
    implementation 'com.android.volley:volley:1.1.1'
    implementation 'com.squareup.picasso:picasso:2.71828'
    implementation 'com.google.firebase:firebase-core:18.0.1'
    implementation 'org.webrtc:google-webrtc:1.0.28513'
    implementation 'com.payumoney.sdkui:plug-n-play:1.6.0'

    implementation 'com.google.firebase:firebase-analytics:18.0.1'
    implementation 'com.google.firebase:firebase-crashlytics:17.3.0'

    implementation 'com.flurry.android:analytics:11.6.0@aar'
    implementation 'com.github.bumptech.glide:glide:4.9.0'
    implementation('com.alimuzaffar.lib:pinentryedittext:1.3.10')
    implementation 'com.hbb20:ccp:2.3.2'
    implementation 'com.google.android.gms:play-services-auth:19.0.0'
    implementation 'com.google.android.gms:play-services-auth-api-phone:17.5.0'
    implementation 'com.koushikdutta.ion:ion:3.0.8'
    implementation 'com.wdullaer:materialdatetimepicker:4.2.3'
    implementation 'io.agora.rtc:full-sdk:3.0.0'
    api 'com.theartofdev.edmodo:android-image-cropper:2.8.0'

    //OneSignal
    implementation 'com.onesignal:OneSignal:3.14.1'

    implementation 'com.toptoche.searchablespinner:searchablespinnerlibrary:1.3.1'
    //Auto-Resizable Pixel
    implementation 'com.intuit.sdp:sdp-android:1.0.6'
    implementation 'com.intuit.ssp:ssp-android:1.0.6'

    //for new version updater
    implementation 'com.google.android.play:core:1.9.1'
}

apply plugin: 'com.google.gms.google-services'

提前致谢。

【问题讨论】:

  • @RyanM 请看一下我的gradle
  • 我也遇到了同样的问题,有人有解决办法吗?
  • @SimonChius 请看一下我发布的答案和图片。
  • 感谢@Aliasgar Patel,我会尝试并在这里更新。
  • @SimonChius 你解决了吗?我也面临同样的问题 1.androidx.core.app.ActivityCompat.startActivityForResult 2.androidx.fragment.app.FragmentActivity.startActivityForResult 但是我没有找到,如何解决这个!!请有人帮忙。

标签: android google-play google-play-console android-security


【解决方案1】:

在我的情况下,它是短信广播接收器,这是在与 google play 团队协调大约一个月后从 google 收到的邮件,他们向 mw 发送了违规的详细信息,请查看下面的图片。

enter image description here

【讨论】:

  • 你用过短信检索api吗?
  • 嗨@MageshPandian 我正在分享我用过的api。 developers.google.com/identity/sms-retriever/request
  • 感谢您的链接。我对短信检索器使用隐式广播并动态注册和注销。我的疑问是我是否动态注册了添加 android:permission="com.google.android.gms.auth.api.phone.permission.SEND" 或不需要的广播?
  • @MageshPandian 请像这样在清单中注册您的接收器。
猜你喜欢
  • 1970-01-01
  • 2021-07-20
  • 2022-11-20
  • 2018-07-04
  • 2021-03-24
  • 1970-01-01
  • 2017-07-19
  • 2019-03-27
  • 1970-01-01
相关资源
最近更新 更多