Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Support #1

Open
cmadh opened this issue Oct 3, 2022 · 4 comments
Open

Android Support #1

cmadh opened this issue Oct 3, 2022 · 4 comments

Comments

@cmadh
Copy link

cmadh commented Oct 3, 2022

Reading the docs I assume there's no android-support yet? Can you clarify and tell about if it's planned and if there's an estimation on when android support will be available if at all?

@ibrahimpenekli
Copy link
Member

Hi @cmadh , You can implement an Android browser to be able to use the package if you need it immediately. There is no eta currently, but I will implement it asap.

@cmadh
Copy link
Author

cmadh commented Oct 16, 2022

@ibrahimpenekli thank you for the quick response. I'll take a look at this when I have some time left, it's not super urgent yet.

@AbhiKana
Copy link

Hi Ibrahim thanks for creating such a great package.

I would like to understand more on how to actually go about starting to implement an android browser. I have read your standalone but still clueless on what all things will be needed for android.

Response would be highly appreciated.

@ibrahimpenekli
Copy link
Member

@AbhiKana Hi Abhishek, thanks!

Lets say you decide to use CustomTabs browser;

  1. You should create an android package which should contain CustomTabs browser implementation.
  2. Create CustomTabs browser implementation (which calls your android package implementation) on Unity side, using Packages/com.cdm.authentication/Runtime/Browser/IBrowser.cs interface
  3. Done!

But I think you need some configuration to catch browser result on Unity. We do some url scheme configuration on iOS but Im not sure on android platform.

Here is an example;
https://github.com/peterhorsley/Unity3D.Authentication.Example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants