Problem
We are getting some unexpected behavior Integrating Optimezily with Appcelerator.
The app is not crashing so there are no errors around this, at least not in logs! But lets say we have a view with red background color, and want to change that view background color from red to blue (simple A/B test sample) and it's set on 50%-50%, so 50% of the installs will have this view with red background color and the rest will have it blue.
There are several things going on here:
1. The app doesn't load the correct background color. It keeps the original color even when it's loading the variation that supposed to have blue color.
2. If it loads the blue color then some interactions reset the color. It loaded fine (blue color) but then on tap or scroll the background color resets to red.
Those are 2 simple and common scenarios that came from basic testing this! Maybe the Ti proxies somehow overwrite the value set by Optimizely or something like that!
Test Case
https://github.com/Alegt/movies
It's the movies sample from Appcelerator and have the Optimizely SDK integrated into a module!
Steps to reproduce
To reproduce the issue you need to have an experiment set up and enabled on the Optimizely dashboard, add the keys and schema to the app in order to use it! I can't share our keys for that, sorry!
Optimizely iOS SDK reference
http://developers.optimizely.com/ios/reference/index.html
Let's review this next sprint.
It'll help to understand how Optimizely is expected to work, you can try out Optimizely here: https://app.optimizely.com/mobile/test-it-out Also, you can create your own Optimizely account to see what's happening: https://www.optimizely.com/mobile/
Hi - is there other information I can provide to help here? Let me know!
Hi! Is there a way you can update when you plan on working this? Please let me know!
I am sorry, but we are looking to integrate Optimizely with our app. Could you give me some hint where to start? Do you go through SDK or through REST API? Do you have any module publicly available yet (even if imperfect/unstable)?
We don't have an optimizely module. If you are interested, you can check this out http://docs.appcelerator.com/platform/latest/#!/guide/Creating_a_New_Titanium_Module on how to create a titanium module