Skip to content
This repository has been archived by the owner on Mar 30, 2020. It is now read-only.

🐞 A minimal working example for reproducing a crash on Windows 10 Mobile devices

License

Notifications You must be signed in to change notification settings

robin-hartmann/bug-w10-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

23 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🐞 bug-w10-auth

A minimal working example for reproducing a crash on Windows 10 Mobile devices

πŸ› οΈ Development

These instructions will get you a copy of this project up and running on your local machine for development and testing purposes.

πŸ“‹ Prerequisites

πŸš€ Getting Started

  1. Install all dependencies
    • npm i
  2. Add Windows as platform
    • .\node_modules\.bin\cordova platform add windows
  3. Open platforms/windows/CordovaApp.sln in Visual Studio
  4. Configure CordovaApp.Windows10 as Startup Project
  5. Run the project on a connected mobile device
  6. Stop the debug session (the app doesn't crash during debugging)
  7. Launch the app manually
  8. 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.

βœ‰οΈ About the response

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 to Basic realm="PutsReq.com")

πŸ“‹ Tested on

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

🧰 Built With

  • Cordova - Mobile apps with HTML, CSS & JS
  • PutsReq - Lets you record HTTP requests and fake responses

πŸ‘¨β€πŸ’» Authors

πŸ“ƒ License

This project is licensed under the MIT License - see the LICENSE file for details.

About

🐞 A minimal working example for reproducing a crash on Windows 10 Mobile devices

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published