# Setting app restrictions in Google Credentials for an Ionic app

**URL:** <https://forum.ionicframework.com/t/setting-app-restrictions-in-google-credentials-for-an-ionic-app/135648>\
**Category:** ionic-v3\
**Created:** [July 18, 2018, 9:53pm UTC](https://forum.ionicframework.com/t/setting-app-restrictions-in-google-credentials-for-an-ionic-app/135648 "2018-07-18T21:53:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![codingBeast](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@codingBeast](https://forum.ionicframework.com/u/codingBeast)\
**Post date:** [July 18, 2018, 9:53pm UTC](https://forum.ionicframework.com/t/setting-app-restrictions-in-google-credentials-for-an-ionic-app/135648/1 "2018-07-18T21:53:31Z")

</div>

Hey, I have almost finished developing an Ionic app and I am using some Google API keys. I want to restrict the apps that can use the APIs but I don’t know how to set the restrictions for an Ionic app, since I don’t know if it sends requests from an IP address in each user’s phone or if it works like a URL. I already tried choosing the Android app option with the package name and the SHA1 signature but it didn’t work. Any ideas on how to secure the key?

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:29pm UTC](https://forum.ionicframework.com/t/setting-app-restrictions-in-google-credentials-for-an-ionic-app/135648/2 "2021-07-19T21:29:14Z")

</div>

Closed on July 19, 2021, 9:29pm UTC


