SDK FAQ

最新の更新:2023-03-31

Initialization not successful?

  • Set debug mode and check logs to see if there are any error logs.
  • Check if the service inherited from MTCommonService has configured a process, like:
<service android:name="com.engagelab.app.component.UserService" android:exported="false" android:process="${ENGAGELAB_PRIVATES_PROCESS}"> <intent-filter> <action android:name="com.engagelab.privates.intent.USER_SERVICE" /> </intent-filter> </service>
          <service
   android:name="com.engagelab.app.component.UserService"
   android:exported="false"
   android:process="${ENGAGELAB_PRIVATES_PROCESS}">
<intent-filter>
<action android:name="com.engagelab.privates.intent.USER_SERVICE" />
</intent-filter>
</service>

        
このコードブロックは、フローティングウィンドウに表示されます
  • Check if the app key and package name match.

How to receive push messages when offline?

  • Integrate manufacturer SDK
  • Configure the corresponding app's integration settings on the official website
  • And have run the app, that is, reported the manufacturer token

Why can't the manufacturer receive push messages?

  • Check the official website Push Record Details for specific reasons
  • Check if the manufacturer has different restrictions in different environments

Why doesn't the message display in the notification bar?

Why can't third-party systems receive push messages?

This is due to the management software of third-party ROMs requiring manual user operation.

Xiaomi【 MIUI 】

  • Autostart management: You need to add the app to the【Autostart management】list, otherwise, the process won't start after killing the process or restarting the device
  • Notification bar settings: By default, apps display notifications in the notification bar; if turned off, no notifications will be shown when received
  • Network assistant: You can manually forbid third-party apps from accessing 2G/3G and WIFI networks and set whether newly installed apps are allowed to access 2G/3G and WIFI networks
  • MIUI 7 Hidden mode: Allows the app to customize its configuration mode, keeping the app connected in the background. Otherwise, when the app is in the background, it cannot receive messages properly. Go to【Settings】>【Battery & Performance】>【Hidden Mode】

Huawei【 Emotion 】

  • Autostart management: You need to add the app to the【Autostart management】list, otherwise, the process won't start after killing the process or restarting the device, and you have to manually start the app
  • Background app protection: You need to manually add the app to this list, otherwise, the device will automatically kill the app process after entering sleep mode, and you have to manually start the app to resume operation
  • Notification management: App status has three types: Prompt, Allow, and Forbid. If an app is forbidden, there will be no notifications in the notification bar

Meizu【 Flyme 】

  • Autostart management: You need to add the app to the【Autostart management】list, otherwise, the process won't start after killing the process or restarting the device
  • Notification bar push: If app notifications are turned off, no notifications will be shown when received
  • Power-saving management: Set power-saving mode in the Security Center, and allow the app to keep running in【Standby Power Consumption Management】, otherwise, the phone will not receive messages properly when in sleep mode or after being idle for a while

VIVO【 Funtouch OS 】

  • Memory one-click cleaning: You need to add the app to the【Whitelist】, otherwise, the built-in "One-click acceleration" will kill the process
  • Autostart management: You need to add the app to the "i Manager"【Autostart management】list, otherwise, the process won't start after restarting the phone. However, even if added to this list, subsequent processes won't start automatically after forcibly killing the process

OPPO【 ColorOS 】

  • App freezing management: You need to add the app to the pure background, otherwise, messages cannot be received promptly when the screen is locked
  • Autostart management: Add the app to the【Autostart management】list and lock the app process in Settings > Application > Running

Samsung

  • Memory one-click optimization: You need to add the app to the【Whitelist】, otherwise, the system memory optimization will kill the app process.
在文档中心打开
icon
営業に連絡する