question

lucachiarelli avatar image
lucachiarelli asked

Not receiving Variables

Hi, I'm trying your iOS framework to add A/B testing to my app. I'm retrieving the expected information about the project: 2014-03-14 12:29:51.186 AppDev[3987:907] AmazonInsightsSDK: Amazon Insights SDK(2.1.17.0) initialization successfully completed 2014-03-14 12:29:51.201 AppDev[3987:490b] AmazonInsightsSDK: Event: '_sess...' recorded to local filestore 2014-03-14 12:29:51.553 AppDev[3987:907] AmazonInsightsSDK: Attempting to retrieve variation(s) for project(s): {( onboardFlowTest )} But when i try to read the variable i see this message in the log: AmazonInsightsSDK: Variable 'flowVariable' does not exist in the variation. Returning default value I tried to do a PO of the id object and i found that the variables array is empty. {"projectName":"onboardFlowTest","variationName":"DEFAULT","experimentId":"0","applicationKey":"***********MASK*************","variationId":"0","uniqueId":"***********MASK*************","expirationDate":"0","variables":{},"allocationSource":0} I double checked my project configuration and i also tried to create a new project with different variables without success. Can someone help with this?
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

lucachiarelli avatar image
lucachiarelli answered
Fixed, i used the variation name instead of the project name
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.