Skip to content

Commit

Permalink
Merge branch 'jwt'
Browse files Browse the repository at this point in the history
  • Loading branch information
christocracy committed Dec 4, 2019
2 parents 680322b + acfebab commit 37299a2
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 10 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## 3.4.2 - 2019-12-03
- [Fixed] iOS crash when launching first time `-[__NSDictionaryM setObject:forKey:]: object cannot be nil (key: authorization)'`
- [Changed] Remove Android warning `In order to enable encryption, you must provide the com.transistorsoft.locationmanager.ENCRYPTION_PASSWORD` when using `encrypt: false`.
- [Fixed] Added headless implementation for `geofenceschange` event.

## 3.4.1 - 2019-12-02
- [Fixed] Android bug rendering `Authorization.toJson` when no `Config.authorization` defined.

Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ public void onHeadlessEvent(HeadlessEvent event) {
params = event.getBootEvent();
} else if (name.equals(BackgroundGeolocation.EVENT_GEOFENCE)) {
params = event.getGeofenceEvent().toJson();
} else if (name.equals(BackgroundGeolocation.EVENT_GEOFENCESCHANGE)) {
params = event.getGeofencesChangeEvent().toJson();
} else if (name.equals(BackgroundGeolocation.EVENT_HEARTBEAT)) {
params = event.getHeartbeatEvent().toJson();
} else if (name.equals(BackgroundGeolocation.EVENT_POWERSAVECHANGE)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
-(NSDictionary*) toDictionary:(BOOL)redact;
-(BOOL) isEqual;
- (id) valueFromDictionary:(NSDictionary*)values forKey:(NSString*)key forObject:(id)object defaultValue:(id)defaultValue;

@end
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ TSConfig
- (NSDictionary*) toDictionary:(BOOL)redact;

// Logs a safe version of toDictionary with sensitive information redacted
- (NSDictionary*) toLog;
- (NSString*) toJson;
- (void) registerPlugin:(NSString*)pluginName;
- (BOOL) hasPluginForEvent:(NSString*)eventName;
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</data>
<key>Headers/ConfigModule.h</key>
<data>
gzMUdc4PBYVyMGeTQU3cxl+iOu4=
t2poqjNBoI2NSY/6Z/Js4Xb7NTg=
</data>
<key>Headers/HttpRequest.h</key>
<data>
Expand Down Expand Up @@ -46,7 +46,7 @@
</data>
<key>Headers/TSConfig.h</key>
<data>
rTxpzW7LDtEmPplPkStsSrTCNbs=
/fFlQ/J0EKHY4jDAXMKfYXDG528=
</data>
<key>Headers/TSConnectivityChangeEvent.h</key>
<data>
Expand Down Expand Up @@ -122,7 +122,7 @@
</data>
<key>Info.plist</key>
<data>
4MrGCYNKGHY27xHQTL+ffgeWp3A=
l5AUON/lrFKSNugLnp8XeXjQJT0=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand All @@ -146,11 +146,11 @@
<dict>
<key>hash</key>
<data>
gzMUdc4PBYVyMGeTQU3cxl+iOu4=
t2poqjNBoI2NSY/6Z/Js4Xb7NTg=
</data>
<key>hash2</key>
<data>
t2gXgKd/4HVoIAX4I5G8iHDwpCgPCjfgkMP0Z5kLE1o=
O8vBITezTQSTDxTmQ1rw01+K7zYuPsP8wM0Y4Wl4lw0=
</data>
</dict>
<key>Headers/HttpRequest.h</key>
Expand Down Expand Up @@ -245,11 +245,11 @@
<dict>
<key>hash</key>
<data>
rTxpzW7LDtEmPplPkStsSrTCNbs=
/fFlQ/J0EKHY4jDAXMKfYXDG528=
</data>
<key>hash2</key>
<data>
89Lmeuhr3WJ/z2402BDM2rjmmiFHX9wC3pce9u/kYL0=
4grUx7236zH7+mcgd5/cFS3TmJohfrHoHphW9vnXheo=
</data>
</dict>
<key>Headers/TSConnectivityChangeEvent.h</key>
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-background-geolocation",
"version": "3.4.1",
"version": "3.4.2",
"description": "The most sophisticated cross-platform background location-tracking & geofencing module with battery-conscious motion-detection intelligence",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down

0 comments on commit 37299a2

Please sign in to comment.