handling deep link

49 views
Skip to first unread message

test qa

unread,
May 16, 2016, 10:22:07 AM5/16/16
to calabash-android
Hello Guys, 
I am trying to open my native app through deeplink in calabash android
Can you please help me how to do that.


Thanks

Susan van de Ven

unread,
Jun 29, 2016, 3:47:05 AM6/29/16
to calabash-android
 I use this.

def open_url(url)
cmd = "#{default_device.adb_command} shell am start -a android.intent.action.VIEW -d #{url} your.app.name"
raise "Could not open deep link with:#{cmd}" unless system(cmd)
end

N.B. This doesn't work if you use the Xamarin Device cloud as direct adb commands are not permitted
Reply all
Reply to author
Forward
0 new messages