This repository was archived by the owner on May 22, 2024. It is now read-only.
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ -(void) locationManager:(CLLocationManager *)manager didExitRegion:(CLRegion *)r
179
179
[parsedData setValue: @" true" forKey: @" openedFromNotification" ];
180
180
NSMutableDictionary *userInfoDici = [[NSMutableDictionary alloc ]init];
181
181
[userInfoDici setValue: @" outside" forKey: @" state" ];
182
-
182
+
183
183
NSError * err;
184
184
NSData * jsonData = [NSJSONSerialization dataWithJSONObject: parsedData options: 0 error: &err];
185
185
NSString * myString = [[NSString alloc ] initWithData: jsonData encoding: NSUTF8StringEncoding];
@@ -194,4 +194,4 @@ -(void) locationManager:(CLLocationManager *)manager didExitRegion:(CLRegion *)r
194
194
}
195
195
}
196
196
}
197
- @end
197
+ @end
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ func log(message: String){
136
136
if let uiNotification = notification. object as? UILocalNotification {
137
137
if let notificationData = uiNotification. userInfo ? [ " geofence.notification.data " ] as? String {
138
138
let data = notificationData
139
- let js = " setTimeout(geofence.onTransitionReceived( " + data + " ),0) "
139
+ let js = " setTimeout(geofence.onTransitionReceived([ " + data + " ] ),0)"
140
140
141
141
evaluateJs ( js)
142
142
}
You can’t perform that action at this time.
0 commit comments