Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Commit

Permalink
Release version 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Bucimis committed Apr 13, 2020
1 parent ca4e0f8 commit a84a3bb
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.0.3

##### Fixed
- Fixed the polarity on `ad_tracking_enabled` sent to Braze via device info.

## 0.0.2

##### Fixed
Expand Down
2 changes: 1 addition & 1 deletion scene_graph_sample/components/BrazeTask.brs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ sub setupBrazeSdk()
heartbeat_start = heartbeat_current_time
m.braze.sessionheartbeat({})
end if
msg = wait(50, m.port)
msg = wait(0, m.port)
if msg <> invalid
msg_type = type(msg)
if msg_type = "roSGNodeEvent"
Expand Down
Binary file modified scene_graph_sample/images/channel-icon_HD.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified scene_graph_sample/images/channel-icon_SD.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified scene_graph_sample/images/splash-screen_HD.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified scene_graph_sample/images/splash-screen_SD.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions scene_graph_sample/source/BrazeSDK.brs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function BrazeInit(config as object, messagePort as object)
di = CreateObject("roDeviceInfo")
m.cachedDeviceInfo = {
model : di.GetModel(),
ad_tracking_enabled : di.IsRIDADisabled(),
ad_tracking_enabled : not di.IsRIDADisabled(),
roku_ad_id : di.GetRIDA(),
' roku_channel_client_id : di.GetChannelClientId(),
time_zone : di.GetTimeZone(),
Expand Down Expand Up @@ -439,7 +439,7 @@ function BrazeInit(config as object, messagePort as object)
request.AddHeader("X-Braze-Api-Key", Braze()._privateApi.config[BrazeConstants().BRAZE_CONFIG_FIELDS.API_KEY])
if (request.AsyncPostFromString(FormatJson(postJson)))
while (true)
msg = wait(500, port)
msg = wait(0, port)
if (type(msg) = "roUrlEvent")
code = msg.GetResponseCode()
return msg.getString()
Expand Down
2 changes: 1 addition & 1 deletion sdk_files/components/BrazeTask.brs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ sub setupBrazeSdk()
heartbeat_start = heartbeat_current_time
m.braze.sessionheartbeat({})
end if
msg = wait(50, m.port)
msg = wait(0, m.port)
if msg <> invalid
msg_type = type(msg)
if msg_type = "roSGNodeEvent"
Expand Down
4 changes: 2 additions & 2 deletions sdk_files/source/BrazeSDK.brs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function BrazeInit(config as object, messagePort as object)
di = CreateObject("roDeviceInfo")
m.cachedDeviceInfo = {
model : di.GetModel(),
ad_tracking_enabled : di.IsRIDADisabled(),
ad_tracking_enabled : not di.IsRIDADisabled(),
roku_ad_id : di.GetRIDA(),
' roku_channel_client_id : di.GetChannelClientId(),
time_zone : di.GetTimeZone(),
Expand Down Expand Up @@ -439,7 +439,7 @@ function BrazeInit(config as object, messagePort as object)
request.AddHeader("X-Braze-Api-Key", Braze()._privateApi.config[BrazeConstants().BRAZE_CONFIG_FIELDS.API_KEY])
if (request.AsyncPostFromString(FormatJson(postJson)))
while (true)
msg = wait(500, port)
msg = wait(0, port)
if (type(msg) = "roUrlEvent")
code = msg.GetResponseCode()
return msg.getString()
Expand Down

0 comments on commit a84a3bb

Please sign in to comment.