|
|
@@ -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)
|