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
JohnsonWangJohnsonWang 

Hybrid Remote app open specific apex page from AppDelegate.m

I have built a hybrid remote app, set up the start page as the homepage of force.com paltform. The question is if user open this app from push notification, how can we let user open the relevant page directly instead the homepage? E.g.

 

Start Page: /Home/home.jsp

Expected page when click from Push: /apex/newsdetails?id=(the id provided within the push)

 

So the direct question is that how can we open /apex/newsdetails?id=? page from native code?

 

jhersh0jhersh0
Add a `retUrl` parameter to your URL. You might like to see how I did this in ForcePad: https://github.com/ForceDotComLabs/ForcePad/blob/master/Accounts/util/SFVAppCache.m#L783
Ganesh Sawant 10Ganesh Sawant 10

@JohnsonWang  
Are you able to get this working?
Appriciate if you can share some insights as I am trying to achieve exact same functionality :)