-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Description
Ionic version: (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x ] 3.x
I'm submitting a ... (check one with "x")
[x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
When I refresh a page that has a param in the URL using segment/:id I get
Uncaught (in promise): invalid link: redeem/593f2ac1e839b689d883448d
Expected behavior:
When I refresh the page, the component should load when providing a parameter in the url
Steps to reproduce:
GO to something like: http://localhost:8100/#/redeem/593f2ac1e839b689d883448d in my ionic app.
Related code:
@IonicPage({ name: 'redeem', segment: 'redeem/:id', defaultHistory: ['reward-goals'] })
Ionic info:
cli packages: (/Users/judsonterrell/.npm-global/lib/node_modules)
@ionic/cli-utils : 1.9.2
ionic (Ionic CLI) : 3.9.2
global packages:
Cordova CLI : 7.0.1
local packages:
@ionic/app-scripts : 1.3.7
Cordova Platforms : none
Ionic Framework : ionic-angular 3.0.1
System:
ios-deploy : 1.9.1
ios-sim : 5.0.13
Node : v6.11.0
npm : 3.10.10
OS : macOS Sierra
Xcode : Xcode 8.3.3 Build version 8E3004b
PLEASE NOTE: refresh works fine is I just use segment: "redeem" with no params.