How to use Google-Directions-Android library with a restricted API key
问题 I am new to Android and working on a google map project. For this I am using this library to draw a route between two points. This works fine when there is no restriction on the google map api key. But when restriction is applied to my app's package name and sha1 key it won't show the route. It throws an exception saying: This IP, site or mobile application is not authorized to use this API key. Request received from IP address XX.XX.XXX.XXX, with empty referrer Is there any way to use this