Ad
Flutter: How Can I Get Device_id And Device_token In Flutter 2.5.3?
I want to get device information such as device_id and device_token for google and facebook sign-in, so that i can get data for the next dashboard-page as in following code
Body:{
"token": "string",
"device_info": {
"device_token": "lfkjklfl", <---- //this field i need
"device_id": "jgkfjdgkfjdlgfd"
}
}
i have used this device_info package for getting token, but their is no token type in this package
Ad
Answer
device_token
only you can get via firebase messaging
.
Ad
source: stackoverflow.com
Related Questions
- → should I choose reactjs+f7 or f7+vue.js?
- → Phonegap Android write to sd card
- → Local reference jquery script in nanohttpd (Android)
- → Click to navigate on mobile devices
- → How to allow api access to android or ios app only(laravel)?
- → Access the Camera and CameraRoll on Android using React Native?
- → React native change listening port
- → What is the default unit of style in React Native?
- → Google play market autocomplete icon
- → Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of `ListView`
- → Using Laravel with Genymotion
- → react native using like web-based ajax function
- → react native pdf View
Ad