AppGalleryConnect / agc-flutter-plugin

This repository including all of exsiting plugins of AppGallery Connect Service in Flutter.
Apache License 2.0
12 stars 3 forks source link

something wrong with configuration while upload the release apk to appgallery store #2

Closed mustafa-707 closed 3 years ago

mustafa-707 commented 3 years ago

Description i follow all the docs from huawei dev. website and from the flutter repo readme , but still i got a rejection for update hms services i only used this plugin : huawei_Iap, Huawei_account, Huawei_location with the following pic that's the reject message :

Screen Shot 2021-02-13 at 3 31 45 PM

Current behavior that's all my configration files :

build.gradle

buildscript {
    repositories {
        ..
        maven { url 'https://developer.huawei.com/repo/' }
        ..
    }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.6.2'
          ...
        classpath 'com.huawei.agconnect:agcp:1.4.2.301'
    }
    allprojects {
    repositories {
        ..
        maven { url 'https://developer.huawei.com/repo/' }
        ..
    }
    }

android build.gradle

...
apply plugin: 'com.huawei.agconnect'
...
    defaultConfig {
            resConfigs "ar", "en"
}
...
dependencies {
    implementation 'com.huawei.agconnect:agconnect-core:1.4.2.301'
    implementation 'com.huawei.hms:base:5.0.5.300'
    implementation 'com.huawei.hms:hwid:5.1.1.300'      
    implementation 'com.huawei.hms:iap:5.1.0.300'  
    implementation 'com.huawei.hms:appservice:5.0.4.302'  
    implementation 'com.huawei.hms:hianalytics:5.1.0.301'  
    implementation 'com.huawei.hms:location:5.1.0.300'  
}

proguard-rules.pro

-ignorewarnings 
-keepattributes *Annotation* 
-keepattributes Exceptions 
-keepattributes InnerClasses 
-keepattributes Signature
-keepattributes SourceFile,LineNumberTable 
-keep class com.huawei.updatesdk.**{*;}
-keep class com.huawei.android.sdk.drm.**{*;}
-keep class com.huawei.agconnect.**{*;}
-keep class com.hianalytics.**{*;} 
-keep class com.hianalytics.android.**{*;}
-keep class com.huawei.hms.**{*;} 
-keep interface com.huawei.hms.analytics.type.HAEventType{*;}
-keep interface com.huawei.hms.analytics.type.HAParamType{*;}
-keep class com.huawei.hms.analytics.HiAnalyticsInstance{*;}
-keep class com.huawei.hms.analytics.HiAnalytics{*;}
-keepattributes EnclosingMethod

#Flutter Wrapper
-keep class io.flutter.app.** { *; }
-keep class io.flutter.plugin.**  { *; }
-keep class io.flutter.util.**  { *; }
-keep class io.flutter.view.**  { *; }
-keep class io.flutter.**  { *; }
-keep class io.flutter.plugins.**  { *; }
-dontwarn io.flutter.embedding.**
-keep class com.huawei.hms.flutter.** { *; }
-repackageclasses

i follow all this references

and till now i got the same reject , So i would be appreciate that , if anyone can help to avoid this kind of rejection

also if we can involve our app with a flutter plugin that solve the CheckUpdate by huawei it will be very kindly

Mayism commented 3 years ago

@mustafa-707 “i passed the automated review by removing my app from China in appGallery also after the update it gives me this behavior , is that normal” —This is normal. The application of Chinese mainland must integrate the API: checkUpdate. If the area does not contain Chinese mainland, the system does not require the integration of this API, so it will not report Major level error, so you passed the automated review. And the AppGallery Update is normal too.

“also if we can involve our app with a flutter plugin that solve the CheckUpdate by huawei it will be very kindly” —Thank you for your feedback. We expect to provide this capability by the end of February

mustafa-707 commented 3 years ago

Thank you @Mayism , we will wait to provide our apps with this amazing services , i would ask again if you don't mind , is this capability it will be as flutter plugin and it will makes us to contain Chinese mainland ?

Regarded Thanks

Mayism commented 3 years ago

@mustafa-707 Thank you for your understanding and patience. In the flutter plugin, we will provide the capability of checkupdate,too. However, if you want to release your app in Chinese Mainland, you must integrate the checkupdate interface.This is the same as that in the Android SDK.

mustafa-707 commented 3 years ago

any update ? i just want to be up to date if there's any new release data and i'm so excited to use new features

Many thanks

Mayism commented 3 years ago

@mustafa-707 Sorry, the flutter plugin that support checkupdate is still under development. If the development is complete, I will reopen this issue and inform you as soon as possible.