All Products
Search
Document Center

Mobile Platform as a Service:Switch Configuration

Last Updated:May 15, 2024

key

value

Description

enable_keep_alive

YES/NO, default NO

Enable the keep-alive feature

mriver_keep_alive_time

The number of milliseconds. Default value: 60000.

Backstage keep-alive duration

mriver_keepalive_max

1 to 5. Default value: 2.

Maximum number of background keep-alive mini programs

mriver_force_perm_check

YES/NO, default NO

Forcibly enable permission verification

mriver_custom_appxloading

The resource address. This parameter is empty by default.

The custom URL of the appending operation.

mriver_custom_appxloading_size

10 to 60. Default value: 30.

Customizes the size of the appxloading control. 30 indicates that the width and height are 30% of the screen width.

enable_back_perform

YES/NO, default NO

Turn on the hold return key

mr_showOptionMenu

YES/NO. Default value: YES

titlebar display menu

mr_showShareMenuItem

YES/NO, default NO

Menu bar display sharing

mr_request_support_gzip

YES/NO, default NO

httpRequest JSAPI support for gzip

h5_nbmngconfig

json, default :{\"config\":{\"al\":\"3\",\"pr\":{\"4\":\"86400\","

+ "\"common\":\"864000\"},\"ur\":\"1800\",\"fpr\":{\"common\":\"3888000\"}},"

+ "\"switch\":\"yes\"}

The mini program automatically updates the cycle and changes the ur value. The default is 1800 seconds (half an hour)

miniapp_location_enable_search

YES/NO, default NO

Select a location to support search

miniapp_location_enable_all_search

YES/NO, default NO

Select a location to support nationwide search

ariver_appcompact_compatible

true/false. Default value: false.

The mini program page switching animation is compatible with androidx,appcompact 1.3.+

ta_systeminfo_update_setting

YES/NO, default NO

Whether getSystemInfo obtains permission application information

mriver_show_debug_menu_all

YES/NO, default NO

All mini programs show debug panel entry

mr_use_inner_net

YES/NO, default NO

Mini program httpRequest parallelism optimization

mriver_check_foreground_change

YES/NO, default NO

Whether to check keep alive when returning to the desktop for recovery, multi-stack keep alive does not need to be set

ariver_supportStatusBar

true/false. Default value: true.

By default, the color of the statusBar is set to false for immersion.

mr_tiny_video_type

3 indicates that the new video player is used. Default value: 0

The type of the video player. If you set this parameter to 3, the new version of the player is used.

ta_worker_init_low_version_compat

YES/NO, default NO

(Build.VERSION.SDK_INT == 22 || Build.VERSION.SDK_INT == 21) ? "YES" : "NO"