Leon 1 年之前
父節點
當前提交
353490872f

文件差異過大導致無法顯示
+ 0 - 0
android/app/src/main/assets/index.android.bundle


文件差異過大導致無法顯示
+ 0 - 0
android/app/src/main/assets/index.android.map


+ 2 - 1
src/utils/push.tsx

@@ -74,7 +74,8 @@ export default function jgPush() {
     });
 
     OneSignal.User.getOnesignalId().then((id) => {
-        console.log('OneSignal: device id:', id);
+        var str = OneSignal.User.pushSubscription.getPushSubscriptionId();
+        console.log('OneSignal: device id:', id,str);
         global.oneID = id
         setTimeout(() => {
             clientId(false)

部分文件因文件數量過多而無法顯示