Hot answers tagged

6 votes
Accepted

Mobile SDK 3.x - Cordova Bug - Dialer Returns error for hybrid apps

For those facing the same issue, we managed to work around it with this approach In Platform/ios/CordovaLib/Classes/CDWebViewDelegate.m, there is a method (BOOL)webView:(UIWebView*)webView ...
5 votes

hybrid remote app with customer portal reset password issue

Since you're using a custom login screen, I'd also customize your forgot password screen to propagate that state back to the login screen. Pass it and return it as a startURL
4 votes

android hybrid app access-control-allow-origin error

I've seen this earlier. This can happen on emulator when your hybrid app is invoking Visualforce pages and the root cause is same as when you'd see this issue in a web application. This thread ...
3 votes
Accepted

Chatter Library for Angular.js/ Ionic for hybrid mobile app

There's probably no open source Ionic or Angular library available for now for hybrid apps specifically for Chatter API. You should look at forceng though. Since Chatter operations are handled by ...
2 votes
Accepted

Hybrid Mobile app with Salesforce Mobile SDK

The local version of an app lives on your phone. In the Salesforce Mobile SDK, these files live in the www folder. They can include your own HTML pages and JavaScript. Basically anything you can build ...
  • 14.5k
2 votes

Testing Hybrid Remote app in web browser

This is very similar to the question I answered here. If you are using Angular.js for your hybrid app, use forceng.js - it is very similar to forcetk.js (without jQuery) and is compatible with Mobile ...
2 votes
Accepted

SF Security Review Questioner - single org solution vs hybrid single org solution

A single org solution is when all customers log into a single org that you control to get the desired functionality. It does not require sites per se (although using sites is the more straightforward ...
2 votes

Is it possible to use Lightning Component/Aura inside Salesforce Mobile SDK Hybrid Local App

You can leverage Lightning out feature to run the Lightning component code in your app. https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/lightning_out_requirements.htm. You ...
1 vote
Accepted

Does hybrid remote supports only visual force page or lightning pages also?

As per the official documentation, it only supports Visualforce pages. Hybrid apps fall into two categories: Hybrid local—Hybrid local apps are Web apps that run locally in the mobile ...
  • 3,811
1 vote

SENDER_ID Error While Creating Hybrid App Using Forcedroid

The actual issue is caused by the recently (8th March) release of the 1.6.0 version of the Phonegap Push Plugin. This release now requires the SENDER_ID to be set on installations (seems an odd idea ...
1 vote
Accepted

Opening iOS app from Salesforce1 App (v7.3.1)

I've managed to run app using a bit different link: window.top.location = 'myapp://home'; It need to be something after schema and before query string like in my example. I think salesforce1 is ...
  • 31
1 vote
Accepted

hybrid remote app with customer portal reset password issue

Here was my solution: I customized the initial login page so that the user could simply enter their username in the username field click reset password to reset their password without leaving the ...
  • 4,946
1 vote
Accepted

Leveraging Salesforce1 Javascript in hybrid mobile app

When building a hybrid mobile app using Visualforce with offline support, you'll need to address: Displaying Visualforce pages offline Managing session expiration Offline data storage You can use ...
  • 2,338
1 vote

android hybrid app access-control-allow-origin error

This may be due to the server not register these headers. But for android you can make as patch for api 16 and greater... Find the following code: if (Build.VERSION.SDK_INT >= VERSION_CODES....
1 vote

Hybrid app technical strategy - where to source my refresh token

I think periodically checking the state of user in the user's home org is the better way to solve this. You can use the AuthToken class to obtain the user's session info for that home org. And then ...

Only top scored, non community-wiki answers of a minimum length are eligible