Skip to content

Instantly share code, notes, and snippets.

@RonaldV
RonaldV / Init
Created June 28, 2012 18:24
Init of geology
geoloqi.init({
clientId : 'the key',
clientSecret : 'the secret',
trackingProfile : 'PASSIVE',
}, {
onSuccess : function() {
Ti.Network.registerForPushNotifications({
types : [Titanium.Network.NOTIFICATION_TYPE_ALERT, Titanium.Network.NOTIFICATION_TYPE_BADGE],
callback : function(data) {
Geoloqi.iOS.handlePush(data);