# Flutter Getting Started

**URL:** <https://community.auth0.com/t/flutter-getting-started/89549>\
**Category:** Get Help\
**Created:** [August 28, 2022, 11:48pm UTC](https://community.auth0.com/t/flutter-getting-started/89549 "2022-08-28T23:48:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![oravecz](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/oravecz/32/39564_2.png) [@oravecz](https://community.auth0.com/u/oravecz)\
**Post date:** [August 28, 2022, 11:48pm UTC](https://community.auth0.com/t/flutter-getting-started/89549/1 "2022-08-28T23:48:11Z")

</div>

I’m developing a Flutter app, and I am targeting both iOS and Android in a single code base. As I follow the Flutter package documentation it talks about adding the callback urls to my Auth0 App.

> Go to the settings page of your [Auth0 application](https://manage.auth0.com/#/applications/) and add the corresponding URL to **Allowed Callback URLs** and **Allowed Logout URLs** , according to the application target you want to run.

Do I enter both my Android callback urls and iOS callback urls into a single Auth0 Application, or do I create an Auth0 app for Android and another one for iOS?

There may be an opportunity to make this clearer.

1. The `Application` → `Settings` → `ApplicationURIs` → `Allowed Callback URLs` implies that you can specify multiple urls, so this makes me think I enter in both my iOS and Android (and web) callback urls and schemes
2. On the [page I quoted above](https://github.com/auth0-samples/auth0-flutter-samples/tree/main/sample) it seems to imply (“according to the application target you want to run”) that I have to put one value in for iOS and change that value if I am targeting Android. That wouldn’t work if I have two platforms which is why I was beginning to think I need two Auth0 apps.
3. The [official docs](https://auth0.com/docs/get-started/applications/application-settings) seem to imply you use multiple callback urls primarily for different environments, but no mention of platforms.

> You can specify multiple valid URLs by comma-separating them (typically, to handle different environments like QA or testing).

4. I’m not sure if I should ignore [this Flutter example](https://github.com/auth0-blog/flutter-authentication) as it is 2 years old, but it has been updated 3 months ago and goes along with a somewhat current [Auth0 Blog Post](https://auth0.com/blog/get-started-with-flutter-authentication/). It doesn’t use the new `auth0_flutter` library, but it has a lot more content regarding this callback url including what seems to be a single entry (`com.auth0.flutterdemo://login-callback`) for both platforms. Is the idea to use a single callback url which will work on both iOS and Android?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [August 30, 2022, 11:07pm UTC](https://community.auth0.com/t/flutter-getting-started/89549/3 "2022-08-30T23:07:24Z")

</div>

Hi @oravecz,

Welcome to the Auth0 Community!

Thanks for reaching out with this question. I am going to speak with our team and get you an answer. I’ll post here when I have an update, thank you!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [August 31, 2022, 9:53pm UTC](https://community.auth0.com/t/flutter-getting-started/89549/5 "2022-08-31T21:53:11Z")

</div>

Hi again @oravecz,

I spoke with our team and they recommended registering separate applications for Android and iOS.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [September 30, 2022, 10:59pm UTC](https://community.auth0.com/t/flutter-getting-started/89549/6 "2022-09-30T22:59:58Z")

</div>


