Hi guys,
I’m having a problem with a specific Android device, Samsung Galaxy E5 with Android Version 7.0.
So, in my app I have a Login Page with a Forgot Password link. When this link is clicked, the app is sent to the Forgot Password Page:
function forgotPasswordButton(){
router.push("ForgotPassword", { username: username.value });
}
In the Forgot Password Page I receive this parameter:
var username = this.Parameter.map(function(param) {
return param.username;
});
The app builds but when it launches it crashes with this error
Error: JavaScript error in Pages/Login/ForgotPassword.ux line 60: Name: TypeError: Cannot read property 'map' of undefined
Error message: Uncaught TypeError: Cannot read property 'map' of undefined
File name: Pages/Login/ForgotPassword.ux
Line number: 60
Source line: var username = this.Parameter.map(function(param) {
JS stack trace: TypeError: Cannot read property 'map' of undefined
at Object._tempMethod (Pages/Login/ForgotPassword.ux:60:32)
in Fuse.Reactive.ModuleInstance</usr/local/share/uno/Packages/Fuse.Reactive.JavaScript/1.2.1/$.uno:685>
I’ve tried several devices, including other Samsung phones, and they all work fine. Does anyone know what may be causing only this device to crash?
Thanks in advance.