We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The ONLY device event that is being picked up by the initialize method is LIFECYCLE.
There are 4 different types of events: LIFECYLE NETWORK NONE ALL
As of right now, the for loop does not account for the NONE and ALL events:
for i in 0..<events.count { switch(i){ case 2: lifecycleFlag = true deviceEvents.append(.lifecycle) break case 3: networkFlag = true deviceEvents.append(.network) break default: lifecycleFlag = true deviceEvents.append(.lifecycle) break } }
The NONE and ALL will always go to the default in the switch statement.
The only way to collect on NETWORK is to send an array of 4 device events. For example:
var deviceEvents = [BMSAnalytics.NONE, BMSAnalytics.NONE, BMSAnalytics.NONE, BMSAnalytics.NONE]; BMSAnalytics.initialize(applicationName, clientApiKey, hasUserContext, deviceEvents)
My device events list on the SDK will take on the array of:
Logic needs to be reworked in the for loop of the initialize method.
The text was updated successfully, but these errors were encountered:
Please verify fix in BMS-Core 1.2.13
1.2.13
Sorry, something went wrong.
Aerex
No branches or pull requests
The ONLY device event that is being picked up by the initialize method is LIFECYCLE.
There are 4 different types of events:
LIFECYLE
NETWORK
NONE
ALL
As of right now, the for loop does not account for the NONE and ALL events:
The NONE and ALL will always go to the default in the switch statement.
The only way to collect on NETWORK is to send an array of 4 device events. For example:
My device events list on the SDK will take on the array of:
Logic needs to be reworked in the for loop of the initialize method.
The text was updated successfully, but these errors were encountered: