function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
juhanajuhana 

Hybrid app with PhoneGap/Cordova in ripple emulator

Hybrid app starts in ripple emulator when platform is selected to be Cordova. But when calling forcetk, ripple shows error about "com.salesforce.oauth.getAuthCredentials". So it cannot retrieve credentials.

 

Is there way to use desktop browser with ripple emulator ?

 

Best Answer chosen by Admin (Salesforce Developers) 
Gaurav KheterpalGaurav Kheterpal

Hi,

 

I had answered a similar question (different context) some time back. Can you go over this link and see if this helps

 

http://boards.developerforce.com/t5/Mobile/Developing-a-Hybrid-Mobile-App-for-BlackBerry-OS-7-OS-10/m-p/591687#M1331

 

Regards,
Gaurav

All Answers

Gaurav KheterpalGaurav Kheterpal

We ran into the same issue a while back. The Ripple emulator does not support the Mobile SDK so you will need to do your own custom REST handling for the oAuth2 authentication. Once you do that, rest of the app flow works pretty well on teh ripple emulator.

 

I hope this helps.

juhanajuhana

Can you give any pointers how to/what is needed to implement ?

 

Or is there some way to create hybrid app and really design the UI. Now it seems to be quite impossible, if I show objects data on screen I can review changes only in iOS/Android device/simulator. Seriously, some help needed for this.

Gaurav KheterpalGaurav Kheterpal

Hi,

 

I had answered a similar question (different context) some time back. Can you go over this link and see if this helps

 

http://boards.developerforce.com/t5/Mobile/Developing-a-Hybrid-Mobile-App-for-BlackBerry-OS-7-OS-10/m-p/591687#M1331

 

Regards,
Gaurav

This was selected as the best answer
Gaurav KheterpalGaurav Kheterpal

Closing this thread as it's been stale for a while.

ssy starssy star
I also share many related applications to Android and the emulator at Blog: modandroidapk.com (https://modandroidapk.com/)