Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19146] Optimizely integration, iOS Module

GitHub Issuen/a
TypeStory
PriorityMedium
StatusClosed
ResolutionWon't Do
Resolution Date2018-04-30T18:10:07.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterRadamantis Torres-Lechuga
AssigneeUnknown
Created2015-07-02T19:43:14.000+0000
Updated2018-04-30T18:10:07.000+0000

Description

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

Comments

  1. Ingo Muschenetz 2015-07-02

    Let's review this next sprint.
  2. Pamela Ongchin 2015-07-07

    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/
  3. Pamela Ongchin 2015-07-14

    Hi - is there other information I can provide to help here? Let me know!
  4. Pamela Ongchin 2015-07-28

    Hi! Is there a way you can update when you plan on working this? Please let me know!
  5. Ganna Kozynenko 2016-02-18

    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)?
  6. Chee Kiat Ng 2016-02-19

    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

JSON Source