Have created a webapp in laravel & vue.js
When i login to my app on MAC or PC ist remeber my username and password.
But if i login to my application with mobile app, it dosent remember my username and password.
Is there a way to get this working on my mobile app ?
@birdietorerik Well then it depends on how the native app has been developed. Like web apps, you can add “hints” to inputs to designate what type of data they’re receiving. Various apps on iOS offer to save email and passwords to my Apple Keychain for me when I log in.
@birdietorerik You don’t create mobile app with Laravel. Laravel is a web framework, and runs on a web server. Mobile apps run on the mobile device itself.
Best practice wouldn't be to store the username and password on a mobile device.
Make use of Laravels Sanctum and Fortify packages for SPA and mobile authentication.
First, authenticate using username and password then issue an API token to the device and store details about the device such as device name etc. Great for allowing the user to log in to your web app at a later date to see currently issued tokens and device names etc.