A minimal working example for reproducing a crash on Windows 10 Mobile devices
These instructions will get you a copy of this project up and running on your local machine for development and testing purposes.
- Node.js - A JavaScript run-time environment
- Visual Studio 2015/2017 - Fully-featured IDE for Android, iOS, Windows, web, & cloud
- Install all dependencies
npm i
- Add Windows as platform
.\node_modules\.bin\cordova platform add windows
- Open
platforms/windows/CordovaApp.sln
in Visual Studio - Configure CordovaApp.Windows10 as Startup Project
- Run the project on a connected mobile device
- Stop the debug session (the app doesn't crash during debugging)
- Launch the app manually
- Press Send POST (the device needs to successfully receive the response from
http://PutsReq.com
)
Now the authentication dialog should pop up. If the dialog isn't closed within ~5 seconds, the app will crash.
For the dialog to pop up, the following conditions have to be met by the response:
- Status code needs to be
401
- Header
WWW-Authenticate
needs to be present - Header
WWW-Authenticate
needs to be configured for Basic Authentication (e.g. set toBasic realm="PutsReq.com"
)
Device | Windows Variant | Windows Version | Crash |
---|---|---|---|
x64-based PC | Pro | 1703 (10.0.15063.0) | NO |
x64-based PC | Pro | 1511 (10.0.10586.1106) | NO |
HP Elite x3 | Mobile | 1703 (10.0.15063.608) | NO |
NOKIA Lumia 930 | Mobile | 1607 (10.0.14393.1715) | YES |
Zebra TC700J | Mobile Enterprise | 1607 (10.0.14393.1715) | YES |
PANASONIC FZ-F1 | Mobile Enterprise | 1511 (10.0.10586.1106) | YES |
- Cordova - Mobile apps with HTML, CSS & JS
- PutsReq - Lets you record HTTP requests and fake responses
- Robin Hartmann - robin-hartmann
This project is licensed under the MIT License - see the LICENSE file for details.