Reputation: 872
I am developing an application using flutter. Actually, I want to read the IP address of the device but I have doubt about Google and App Store policy about reading IP address. Please guide me should I read the IP address or not.
Upvotes: 0
Views: 1314
Reputation: 13852
Why not just read the IP address of the device on the server instead? Then you won't fall foul on any privacy protection.
Upvotes: 1
Reputation: 291
If the user allows your application to use internet and to access the network state you should not have any problem Google and App Store policy since the user give you the authorisation to use that information.
You can find more about how to find the IP address from this topic How to get IP address of the device from code?
Upvotes: 0
Reputation: 107
If you get permissions like:
// AndroidManifest.xml permissions
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
And equivalen on iOS, you should not have legal problems with Apple or Google, it is assumed that you may use that information.
Upvotes: 0