11Partner platform FAQ

For answering some question about using 合作伙伴平台

更新于 2019年9月26日

英文英文

  1. Test test

    看起来是中文,但是其实是英文。

  1. Test test
  2. Test test

 

合作伙伴平台FAQ

设备绑定

1.如何在终端查看绑定的渠道?

点击应用市场—我的—服务商即可查看设备当前所属渠道。未绑定设备均显示为SUNMI,需要联系商米工作人员操作绑定。

2.如何将我账户下的设备绑定至其他渠道?

可通过设备赠送功能,添加对方母账户为好友,进行设备赠送(只有母账户之间才可以进行设备赠送)。

(1)账号信息管理—好友菜单下复制ID,发送给对方:

(1)

(2)对方收到账户ID,点击添加好友,发送添加申请:

(3)点击“新的朋友”,通过好友申请,即可在设备归属管理—赠送设备菜单下进行设备赠送。

3.如何导出我渠道下所有设备的SN?

可在数据中心—我的设备处进行SN列表导出:

调试设备

1.P系列

P系列设备由于安全认证需求,目前终端使用者无法自行进行模式切换,需商米发送授权码后才可进行切换,操作步骤如下:

(1)联系商米,提供需切换调试模式的设备SN。

(2)商米提供授权码后,在设置—关于设备中连续点击TUSN大约8次。

(3)在跳转界面输入商米提供的四位数字的授权码,进行切换。

注意:P系列设备切换调试模式后,无法切换回正常交易模式,仅能用作开发用途。

2.其他设备

对于没有银行卡支付功能的商米设备,切换调试模式请参考合作伙伴平台手册。若调试失败,请在合作伙伴平台的设备配置/通用设置中关闭USB调试保护后进行调试。

(1)为什么调试时报错“unauthorized”?

台式或自助设备USB调试时以太网端口会冲突,请拔掉网线,使设备连接无线网络进行调试。

(2)调试的端口默认多少?

无线:5555

应用市场

1.   应用发布

(1)应用上传时常见错误码及对应原因如下表:

(2)应用上传后,审核时效多久?

审核时效一般为一个工作日,若审核拒绝,请点击查看拒绝原因,按照提示重新上传。此外,如果是新建的应用,均需要经过商米团队审核;更新应用,如果为部署在P系列上,则需要审核后终端才可查看新版本,其余设备在上传后即可查看新版本,无需等待审核。

2.   应用管理

(1)我的应用已经审核通过,为什么在设备上的应用商店里搜索不到?请按如下进行排查:

  • 请确保设备在您的账户下,且合作伙伴后台里的应用列表中已上架此应用。
  • 是否在上传应用时选择了对应的机型?
  • 是否在上传应用时选择了对应的区域?请根据实际需求进行勾选,海外客户需要选择“other”。但需注意,若终端的系统语言为简体中文,应用商店将仅显示部署区域为中国大陆的应用,如需在其他地区将系统语言设为简体中文,请将应用部署范围选上中国大陆。针对此问题后续将进行修复。
  • 应用可见范围是否为部分可见?设备是否在这些渠道下?
  • 应用是否进行灰度部署?目前灰度部署支持按地区和SN进行部署,请确保您的设备在部署的范围内。
  • 如果为子账户下的设备,请确保子账户应用列表中已添加该应用。

(2)如何为控制型子账户上架应用?为子账户设置应用市场,操作流程如下:

  • 点击“设置”,在跳转界面上为子账户添加应用。
  • 完成上架后,点击左上角“返回”,退回上一界面
  • 在当前界面,点击右下角的“确认”,保存之前的配置,如不进行此步则设置无法保存。

(3)更新包上传后,能否在云端控制设备上自动更新?

目前云端暂不支持支持控制应用强制更新,可在设备上进行设置。终端应用市场—我的菜单处默认启用应用自动更新。更新包上传后,根据设备是否开启省流量模式,有如下几种情况:

  • 如终端未使用此应用,且处于WiFi联网状态,该应用会静默自动更新;
  • 终端在使用该应用,且处于WiFi联网状态,会弹出对话框提示更新;
  • 终端开启省流量模式,且使用流量,无论是否在使用该应用,均会弹出对话框提醒是否进行更新;

弹出的对话框有三个选项:立即更新,一小时后更新,稍后更新。如点击稍后更新,则会在下次设备重启后,重新获取更新任务并按设置进行提醒或静默更新。应用市场3.7.29以上版本支持进入应用市场获取更新(版本号可在应用市场—我的—当前版本处查询)。

(4)云端已经上传更新包并且审核通过,设备上一直没有收到更新。

更新由商米云端进行推送,由于网络原因,有时更新任务到达率无法保证100%,如长时间未收到更新请重启设备获取更新。

3.   应用安装

(1)应用下载后无法安装,报错“5”。

5表示网络异常,请更换网络再试。应用安装的错误码列表详见附录。

(2)安装非商米应用商店的应用时,点击“安装”无反应。

请在合作伙伴后台上打开“第三方应用安装”后重启设备或重新联网后再试,如需通过谷歌play商店进行应用安装,还需在通用设置里打开对应的谷歌设置。同时请确保设备在您的账户下。P系列设备由于安全要求,目前仅能通过商米应用市场下载安装经过商米签名认证的应用。

4.   应用卸载

(1)非系统应用(云端上架的应用),无法进行卸载。

请检查云端该应用是否开启自动安装,如开启则无法卸载该运用,需关闭后重新联网或重启设备后进行卸载。此外,系统应用也无法卸载。

5.   部署范围

(1)想实现我的应用仅能在部分设备可见,要如何操作?

可以通过调整部署范围或建立子账户实现:

  • 上传应用时,选择可见范围为“部分可见”,选择本渠道或者好友渠道可见。
  • 选择灰度部署,目前支持按SN和渠道进行部署,应用发布后调整灰度部署范围不需要审核。
  • 创建子账户,将需要可见的设备绑定至子账户,再在子账户上架应用,选择可见范围为本渠道。

账户类型

(1)能否将子账户转为独立账户?

  • 对于控制型子账户,需要先将其转换为合作型子账户(此过程不可逆),合作型子账户完成注册后,可联系商米团队将该账户与母账户解绑。
  • 合作型子账户,完成注册后可直接联系商米团队进行解绑。

系统设置

1.   谷歌服务

(1)如何启用设备上的谷歌服务?

商米海外版设备已预装谷歌服务,但默认关闭。请先确保设备在您的账户下,然后在设备配置—通用设置—其他中打开您所需要的谷歌服务,启用后您账户下的设备上将自动出现对应服务的图标。

2.   霸屏模式

(1)云端将应用设置为霸屏模式后,需要多久生效?

需设备重启后才能生效。

(2)能否在设备上开启/关闭霸屏模式?

在设备设置—实验室—霸屏应用中,点击需要开启霸屏模式的应用,输入霸屏密码(默认1234,可在云端修改),即可将此应用设为霸屏模式。开启后如需关闭再次点击即可,无需输入密码。

如果已经在云端设置了霸屏应用,可以在设备上关闭霸屏模式,需将云端设置的霸屏应用左上角图标点击为“解锁”状态后,重启设备,然后在设备设置—实验室—霸屏应用中进行设置。

(3)P系列设备能否实现霸屏?

P系列目前不支持霸屏,但可通过设置实现类似效果:

  • (4)可通过调用设置屏幕独占接口实现类似效果。
  • (5)将app设置为launcher属性,然后在系统定制—自定义桌面处进行上传(这种情况下仍可以通过下拉菜单访问设置菜单)。

Jump to the app store app details

Answer: Note: only applicable for the portrait screen devices with a version of 3.5 or above in App market

 special codes please refer to the chinese page

1.       Enable it in App via Internet:

public void startActivity(){

String packageName = "要打开的App的包名";

String uri = String.format("market://woyou.market/appDetail?packageName=%s",packageName);

        Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(uri));

        intent.addCategory(Intent.CATEGORY_DEFAULT);

        PackageManager packageManager = getPackageManager();

        List activities = packageManager.queryIntentActivities(intent,

                PackageManager.MATCH_DEFAULT_ONLY);

        boolean isIntentSafe = activities.size() > 0;

        if (isIntentSafe) {

            startActivity(intent);

        }

    }

2.       Enable it via webview:

在xml中使用进入应用市场详情页

如果mWebView.setWebViewClient();设置了此函数,则不能通过a链接自动打开,只能通过拦截链接再使用Intent跳转。

mWebView.setWebViewClient(new WebViewClient(){

            @Override

            public boolean shouldOverrideUrlLoading(WebView view, String url) {

                Log.d(TAG, "shouldOverrideUrlLoading: " + url);

                Intent intent = null;

                try {

                    intent = Intent.parseUri(url,Intent.URI_INTENT_SCHEME);

                } catch (URISyntaxException e) {

                    e.printStackTrace();

                    return false;

                }

                startActivity(intent);

                return true;

            }

        });

3.       Enable it in the browser:

Address: :market://woyou.market/appDetail?packageName=包名

Note: you can only enable it in the built-in browser of the terminal or in Chrome browser, you cannot enable it in all other browsers

How does the APP call the score box

APP how to comment on the pop up by invoking scores

1.Open with Intent within the App:

public void startActivity(){ String packageName = "package name of the 
App to be opened"; 
String uri = String.format("market://woyou.market/appDetail?packageName=%s",packageName); 
Intent intent= new Intent(Intent.ACTION_VIEW,Uri.parse(uri)); 
intent.addCategory(Intent.CATEGORY_DEFAULT); 
PackageManager packageManager = getPackageManager(); 
List activities = packageManager.queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY);
    boolean isIntentSafe = activities.size() > 0; 
if (isIntentSafe) { 
startActivity(intent); 
}
 } 

2.Open
by use of webview:apply < a href=" "> in xml to enter the detail page of
the App market If mWebView.setWebViewClient(); has set

this function, then it’s not OK to automatically open
with a link, it’s only

possible to intercept the link and then apply Intent
to jump.

mWebView.setWebViewClient(newWebViewClient() {
@Override public boolean shouldOverrideUrlLoading (WebView view, Stringurl){
Log.d(TAG, "shouldOverrideUrlLoading: " + url);
Intent intent = null;
try {
intent = Intent.parseUri(url, Intent.URI_INTENT_SCHEME);
} catch (URISyntaxException e) {
e.printStackTrace();return false;
}
startActivity(intent);
return true;
}
});

3.Open in the browser: address:market://woyou.market/appDetail?packageName=package
name Note:it’s OK to open only in the terminal’s own
carried browser or Chrome browser, it’s impossible all to open
it in other browsers.

4.Update appUpdate market://woyou.market/appUpdate

5.Comment on appComment
market://woyou.market/appComment?packageName=%s&type=true/false(true take
the initiative to click and pop up false automatically pops up) String uri =
String.format(“market://woyou.market/appComment?packageName=%s&type=%s”,packageName,true);

App Test Specifications

App Test Specifications

Introduction

To provide uniform, professional, high quality App to all the
partners in Sunmi ecological chain, including software developers, channel
partners, agents, end users, etc. We’ll carry out evaluation on all the Apps
employed in Sunmi App market according to certain principles &
specifications.

 

One.
Basic information standard for App

1.      
App name
should be consistent with the name displayed on desktop of the device

(installed
on it)

2.      
App
introduction & update instructions conform to the actual functions

3.      
App
introduction & update instructions cannot contain illegal content such as

endangering
national security, vulgar, erotic, etc.

4.  The App screenshot is clear and not fuzzy,
without watermark, with portrait format figures in vertical position and
horizontal format figures in horizontal position. And the directions of all
screenshots should be consistent

5.  As for the App, if it is required to log in
for usage, test account number should be filled in the remarks column. If there
is no log in function, it should be filled in the remarks: no log in function

Two. App function standard

1.      
No collapse phenomenon in App
starting & running

2.      
App can be normally installed
or unloaded

3.      
The layout of the App page is reasonable,
matched with horizontal & vertical version

shield, and has no phenomenon of stretch
ratio misalignment

4.      
Clear division of App function
modules, smooth business, complete functions.

Three. App safety standard

1.      
The permission applied by App
is inconsistent with its actual functions

2.      
App has consumed too much network
traffic

3.      
As for App, no virus code
feature exists

4.      
As for App, no ROOT code
feature exists

5.      
During the use process of App,
it is not allowed to frequently pop up floating window

advertisement, interrupt user operation,
influence user experience

Four. Financial safety standard

1.      
According to the application of
UnionPay regulatory requirements for the financial

device’s going on sale, it is not allowed
to apply for the following permissions

Permission

Type

Permission Content

Remarks

Financial Permission

android.permission.ACCESS_LOCATION_EXTRA_COMMANDS

allow App to access additional
position offer commands

Financial Permission

android.permission.ACCESS_SURFACE_FLINGER

The bottom layer figure on the
platform displays support, generally applied in game or camera preview
interface and screenshots in bottom layer mode

Financial Permission

android.permission.BRICK

Capable of disabling mobile phone,
very dangerous; as the name implies, to turn the mobile phone into a brick

Financial Permission

android.permission.CHANGE_COMPONENT_ENABLED_STATE

Change component enabled state

Financial Permission

android.permission.CHANGE_CONFIGURATION

Allow one program to modify current
setting, e.g., localization

Financial Permission

android.permission.CELL_PHONE_MASTER_EX

Extended permission for mobile phone
optimization master

Financial Permission

android.permission.DELETE_PACKAGES

Allow program
delete App

Financial Permission

android.permission.DISABLE_KEYGUARD

Allow the program to disable the
keylock

Financial Permission

android.permission.INJECT_EVENTS

Allow one program to intercept &
capture user event to a time flow, such as button, touch, trackball, etc.

Financial Permission

android.permission.MASTER_CLEAR

Allow the program to carry out soft
formatting, delete system configuration information

Financial Permission

android.permission.MODIFY_AUDIO_SETTINGS

Modify audio setting information

Financial Permission

android.permission.MOUNT_FORMAT_FILESYSTEMS

Format movable file system; e.g.,
format and clear SD card

Financial Permission

android.permission.PROCESS_OUTGOING_CALLS

Allow the program to monitor, modify
or give up outgoing calls

Financial Permission

android.permission.READ_FRAME_BUFFER

Read frame buffer to apply it in
screenshot

Financial Permission

android.permission.READ_LOGS

Allow the program to read the log file
of the underlying system 

Financial Permission

android.permission.READ_OWNER_DATA

Allow the program to read the owner
data

Financial Permission

android.permission.READ_SMS

Allow the program to read SMS

Financial Permission

android.permission.REBOOT

Allow the program to reboot the device

Financial Permission

android.permission.SET_PROCESS_FOREGROUND

Allow the program to currently run to
force into the foreground

Financial Permission

android.permission.SET_PROCESS_LIMIT

Allow the program to set the limit to
maximum number of processes

Financial Permission

android.permission.SET_TIME

Set system time

Financial Permission

android.permission.SET_TIME_ZONE

Set system time
zone

Financial Permission

android.permission.SET_WALLPAPER

Allow the program to set wallpaper

Financial Permission

android.permission.SET_WALLPAPER_HINTS

Allow the program to set wallpaper
hits

Financial Permission

android.permission.SIGNAL_PERSISTENT_PROCESSES

Allow the program to request sending
signals to all the displayed processes

Financial Permission

android.permission.WRITE_CALENDAR

Write to the calendar, but unreadable

Financial Permission

android.permission.WRITE_CALENDAR

Write to the contact person, but
unreadable

Financial Permission

android.permission.WRITE_SECURE_SETTINGS

Allow the program to read & write
settings sensitive to system security

Financial Permission

android.permission.WRITE_SETTINGS

Allow the program to read or write to
system setting

Financial Permission

android.permission.SHUTDOWN

Shutdown

Financial Permission

android.permission.ACCESS_FINE_LOCATION

Receive the location information from
the satellite via GPS chips, reaching a location precision within 10 meters

Financial Permission

android.permission.SYSTEM_ALERT_WINDOW

Display system
window

Financial Permission

android:allowBackup=”false”

Allow the backup & recovery of App
data, and this property needs to be configured as

Financial Permission

android:debuggable=”true”

Allow debug mode

Financial Permission

android:exported=”true”

Allow it to be booted by another
Application component

Financial Permission

android:sharedUserId=”android.uid.system”

Allow the program to run in the system
process (system permission running)