aws / aws-sdk-mobile-analytics-js

Amazon Mobile Analytics JavaScript SDK
Apache License 2.0
82 stars 38 forks source link

Update platform option to be required in README #9

Closed Neil-Ni closed 8 years ago

Neil-Ni commented 8 years ago

I wasn't able to get my event data showing up on my mobile analytics - Custom Events tab until I passed in platform variable in my options.

It seems someone else had the same issue before as well http://brian.jp/post/115260296866/setting-up-aws-mobile-analytics-with-javascript:

You see what the documentation fails to mention, at least the time that I read through it, is that you need to send a ‘platform’ as well. If you do not specify a platform, your analytics will end up in /dev/null. Add a platform with either of these values: ’Android’, ‘iOS’, and your analytics should show up within minutes.

Please ignore this PR if this is not right, thanks! :)