-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gabrielalao/fence 1339 upgrade flutter sdk to latest ios and android radar sdk #34
Gabrielalao/fence 1339 upgrade flutter sdk to latest ios and android radar sdk #34
Conversation
@@ -208,9 +198,6 @@ public void onMethodCall(@NonNull MethodCall call, @NonNull final Result result) | |||
case "setAnonymousTrackingEnabled": | |||
setAnonymousTrackingEnabled(call, result); | |||
break; | |||
case "setAdIdEnabled": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For breaking changes, we add entries to MIGRATION.MD
. This repo doesn't have one yet, but let's create one. It should be formatted like this: https://github.com/radarlabs/radar-sdk-ios/blob/master/MIGRATION.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can put all of the renamed functions in there as well, like that latest ios MIGRATION files does
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, @tjulien
JSONObject obj = new JSONObject(); | ||
obj.put("status", status.toString()); | ||
if (address != null) { | ||
//obj.put("address", address.toJson()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's uncomment this and we'll fix the NaN
bug in the radar android SDK
pubspec.yaml
Outdated
@@ -1,6 +1,6 @@ | |||
name: flutter_radar | |||
description: Flutter package for Radar, the leading geofencing and location tracking platform | |||
version: 3.1.7 | |||
version: 3.1.8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do 3.2
CHANGELOG.md
Outdated
@@ -1,3 +1,18 @@ | |||
# 3.1.8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do 3.2
@@ -10,7 +10,7 @@ Pod::Spec.new do |s| | |||
s.source_files = 'Classes/**/*' | |||
s.public_header_files = 'Classes/**/*.h' | |||
s.dependency 'Flutter' | |||
s.dependency 'RadarSDK', '3.5.9' | |||
s.dependency 'RadarSDK', '3.8.9' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
above, let's update s.version
to 3.2
@tjulien fixed all please review again |
Looks good - except |
@tjulien I updated migration.md I thought I pushed the commit. |
- `Radar.setAdIdEnabled()` has been removed. | ||
- Custom events have been renamed to conversions. | ||
- `Radar.sendEvent(customType, location, metadata)` is now `Radar.logConversion(name, revenue, metadata)`. | ||
- The method response does not include `location` and `user` props anymore. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add code snippets below of the migration, for example, how this is done in the native SDKs: https://github.com/radarlabs/radar-sdk-android/blob/master/MIGRATION.md#36x-to-370
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. I will
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tjulien added code snippets
setAdIdEnabled
sendEvent
tologConversion
and addrevenue
paramtrackVerified
trackVerifiedToken
isUsingRemoteTrackingOptions
autocompleteQuery
with param addexpandUnits
validateAddress
App Attest
to ios examplePlay Integrity API
to android example