handling deep link

瀏覽次數:49 次
跳到第一則未讀訊息

test qa

未讀,
2016年5月16日 上午10:22:072016/5/16
收件者: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

未讀,
2016年6月29日 凌晨3:47:052016/6/29
收件者: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
回覆所有人
回覆作者
轉寄
0 則新訊息