I have used the salesforce example plugin as a base point. The problem is that the SF app was working but now iIt gets and error -
Sandbox access violation: Blocked a frame at "http://appery.io" from accessing a frame at "https://login.salesforce.com". The frame being accessed is sandboxed and lacks the "allow-same-origin" flag. jquery-1.8.2.min.js:2
p.fn.p.init jquery-1.8.2.min.js:2
p jquery-1.8.2.min.js:2
iv_setup mobileframe.js:16
onload
However, I set up some code to connect to the api and and it worked with the modified doLogin () function from the SF example. This gave me a problem becuase I needed to POST the data not GET. So I changed to an ajax call with $post() but now I get the http:// Cross domain https:// problem and I can't call the https from appery http.
Anythoughts? Thanks a bunch for your help