Skip to content

Commit

Permalink
fix initialize (#33)
Browse files Browse the repository at this point in the history
* bump up version 3.1.7

* update the initialize
  • Loading branch information
gabrielalao authored Oct 20, 2023
1 parent 8dd029b commit b197040
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 3.1.7

- Update ios event channel
- Updates an example project

# 3.1.6

- Fixes event listeners
Expand Down
1 change: 1 addition & 0 deletions example/ios/Runner/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ @implementation AppDelegate
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[GeneratedPluginRegistrant registerWithRegistry:self];
[Radar initializeWithPublishableKey:@"prj_test_pk_0000000000000000000000000000000000000000"];
return [super application:application didFinishLaunchingWithOptions:launchOptions];
}

Expand Down
1 change: 0 additions & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ class _MyAppState extends State<MyApp> {
}

Future<void> initRadar() async {
Radar.initialize("prj_test_pk_0000000000000000000000000000000000000000");
Radar.setUserId('flutter');
Radar.setDescription('Flutter');
Radar.setMetadata({'foo': 'bar', 'bax': true, 'qux': 1});
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_radar
description: Flutter package for Radar, the leading geofencing and location tracking platform
version: 3.1.6
version: 3.1.7
homepage: https://github.com/radarlabs/flutter-radar

environment:
Expand Down

0 comments on commit b197040

Please sign in to comment.