| | |
| | | DCUniMPSDK.getInstance().setUniMPOnCloseCallBack(new IUniMPOnCloseCallBack() { |
| | | @Override |
| | | public void onClose(String appid) { |
| | | if (AppConfigManage.isDebug()) { |
| | | HdlLogLogic.print("收到小程序通知 被关闭了"); |
| | | } |
| | | // if (AppConfigManage.isDebug()) { |
| | | // HdlLogLogic.print("收到小程序通知 被关闭了"); |
| | | // } |
| | | HdlLogLogic.print("收到小程序通知 被关闭了", true); |
| | | //小程序被关闭需要对实例缓存删除操作 |
| | | if (mUniMPCaches.containsKey(appid)) { |
| | | mUniMPCaches.remove(appid); |
| | |
| | | * 初始化UniMPSDK 小程序SDK |
| | | */ |
| | | public void initDCUniMPSDK(Context mContext) { |
| | | HdlLogLogic.print("UniMPSDK状态---" + DCUniMPSDK.getInstance().isInitialize(), true); |
| | | if (DCUniMPSDK.getInstance().isInitialize()) { |
| | | return; |
| | | } |