You need to sign in to do that
Don't have an account?
jthor@entransform.com
iOS and Android Hybrid Mobile SDK incompatible
I developed a hybrid app using the Sencha Framework and the Mobile SDK. The app works in Android, but when I try running it on an iPhone some of the features stopped working. I was wondering if there is a difference between how salesforce work with Android and iOS?
There should ideally be no difference. Can you elaborate on what differences are you observing? If possible, please also add your code snippet so I can relate better to what you're stating.
Yes the difference is that I have a panel where I create a carousel and add panels to that carousel's items so that I can swipe the items. It works on Android, but when I run on the iPhone it works in the beginging, but when I navaigate to another page and come back the carousel it is now blank. I tried chaning the HTML content og both the panel and the carousel panel and I can see the HTML, but the panels that I added are not rendering.
the Model
the store
the View where I create the carousel and add panels to the carousel's items and then add the carousel to the main panel to be rendered.
This is how I define the panel to be rendered.
Thanks for your help. I really apppreciate it.
You should define the layout type to 'fit' while creating the panel before adding to item.
This should help explain it a bit better - http://edspencer.net/2012/02/building-a-data-driven-image-carousel-with-sencha-touch-2.html
Regards,
Gaurav