Comparing version 0.0.29 to 0.0.30
@@ -66,3 +66,4 @@ 'use strict'; | ||
function(registrationInfo) { | ||
handler(registrationInfo.deviceToken); | ||
console.log(registrationInfo); | ||
handler(registrationInfo.deviceToken,registrationInfo.notificatios); | ||
} | ||
@@ -88,2 +89,1 @@ ); | ||
}; | ||
@@ -133,6 +133,7 @@ /** | ||
/* Internal Functions */ | ||
Notifications._onRegister = function(token: String) { | ||
Notifications._onRegister = function(token: String,lista:String) { | ||
if ( this.onRegister !== false ) { | ||
this.onRegister({ | ||
token: token, | ||
notificatios:lista, | ||
os: Platform.OS | ||
@@ -147,3 +148,3 @@ }); | ||
} | ||
if ( isFromBackground === null ) { | ||
@@ -171,3 +172,3 @@ if ( Platform.OS === 'ios' ) { | ||
? data.data | ||
: {} | ||
: {} | ||
), | ||
@@ -174,0 +175,0 @@ }); |
{ | ||
"name": "edi-push", | ||
"version": "0.0.29", | ||
"version": "0.0.30", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
49419
734