Open dzoba opened 8 years ago
Hey there! I'll check it out. I haven't used this library in a bit since I've moved away from Segment and instead just using Amplitude directly, so maybe something changed. I'll give it a test and see what happens. Thanks!
Thank you so much!
I tried messing with some of the internals of your library. I had to delete some things (GeoData and https://github.com/gabek/SegmentIO-Brightscript/blob/master/Analytics.brs#L164 ) because the Roku would just error on those lines.
I got all the way to https://github.com/gabek/SegmentIO-Brightscript/blob/master/Analytics.brs#L187 but could not determine how to see what happened, eg a response code or similar.
So the way you would find out what happened is by examining your event loop.
For example inside your
while true
msg = portYouSpecified.GetMessage()
You can check out the message if it's a response from the transfer:
if type(msg) = "roUrlEvent" then
print msg.GetResponseCode()
print msg.GetFailureReason()
end if
And sorry about my delay looking into this, I plan on doing it this weekend!
I'm having difficulty with the basic example. I am trying to run an app with nothing happening, except an event being fired. This is my appMain.brs:
I have tried this with either commented out chunk uncommented, and all I am seeing is:
Am I doing something wrong? I can't seem to actually get an event to send. Do you have an example of a most-basic app that does nothing other than send an event?
I am using a Roku 3.
Thanks!