Custom-URL-scheme icon indicating copy to clipboard operation
Custom-URL-scheme copied to clipboard

Unable to redirect Sub State

Open ranvirgorai opened this issue 8 years ago • 6 comments

This plugin open App gracefully but not redirecting to sub state for example

.state('tab.chats', { url: '/chats', views: { 'tab-chats': { templateUrl: 'templates/tab-chats.html', controller: 'ChatsCtrl' } } })

if url like myapp://tab/chats myapp://tab.chats myapp://chats

it simply start the application but not redirecting to sub state.

ranvirgorai avatar Sep 19 '16 05:09 ranvirgorai

getting same issue... Have you solved it?

simerjit-fwrk avatar Mar 20 '17 12:03 simerjit-fwrk

yes i solved

ranvirgorai avatar Mar 21 '17 10:03 ranvirgorai

Will you please share the solution? Also what if the app is not installed on the device? It is redirected to website page or not?

simerjit-fwrk avatar Mar 21 '17 11:03 simerjit-fwrk

to redirecting to website or app store you have need to take third-party services like Branch.io etc. ping me on mail

ranvirgorai avatar Mar 21 '17 11:03 ranvirgorai

here is what I am using:

In config.xml

in sharing: var test = "thoagapp://signin"

it opens app, as it is custom url, but what if the app is not installed? I want to open the appstore if the app is not installed.

Regards,

Simerjit Kaur

On Tue, Mar 21, 2017 at 5:06 PM, Ranvir Gorai [email protected] wrote:

to redirecting to website or app store you have need to take third-party services like Branch.io etc. ping me on mail

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/EddyVerbruggen/Custom-URL-scheme/issues/201#issuecomment-288052244, or mute the thread https://github.com/notifications/unsubscribe-auth/AXR2bvqeShqZqLst0MQWwas86myZha8Kks5rn7YigaJpZM4KAJy3 .

simerjit-fwrk avatar Mar 21 '17 11:03 simerjit-fwrk

if u have issue to move to your app's substate then you can do it by handling custom url scheme in your app.js file, and if you want to move to app store then you have need to use third party services as mention above, which will resolve your app custom url scheme to your app's package name, because we can redirect to play store using app package name.

ranvirgorai avatar Mar 21 '17 12:03 ranvirgorai