Url segment undefined

I got this error when i install the app on real device. but works fine with browser