-
Notifications
You must be signed in to change notification settings - Fork 303
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
Fix #237 - If custom url reporting disabled when it is null. #241
Conversation
cagryInside
commented
Mar 4, 2015
- Api region reporting removed from MapStopIcon event as discussed in StopInfo event reported for incorrect button press in master branch #233 (comment).
- Agreed to keep OBA Android consistent with OBA Iphone as discussed in Including custom URLs when reporting events with GA. #237 (comment). So, the following differences added:
- Turned on Experimental Regions
- Turned off Experimental Regions
- Set region manually
ObaAnalytics.reportEventWithCategory(ObaAnalytics.ObaEventCategory.UI_ACTION.toString(), | ||
getString(R.string.analytics_action_button_press), | ||
getString(R.string.analytics_label_button_press_experimental) + experimentalServers); | ||
if (experimentalServers) |
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.
@cagryInside Could you please add braces{
to this IF statement? As a matter of style I prefer to always use them. Also, you might want to check if you have the "reformat code" checkbox checked in the "Commit Changes" view in Android Studio. I think the style template should have automatically reformatted this to include braces.
Thanks @cagryInside! Mostly looks good - one request in-line. |
@barbeau thanks. I will make the same changes in develop branch too. |
Thanks! |
Also Api region reporting removed from MapStopIcon event as discussed in OneBusAway#233 (comment).
@cagryInside I think this should be good to be merged now? |
@barbeau agreed. Thanks. |
Fix #237 - If custom url reporting disabled when it is null.
Great, thanks @cagryInside! |