authentication-unity
authentication-unity copied to clipboard
Android Support
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?
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.
@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.
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.
@AbhiKana Hi Abhishek, thanks!
Lets say you decide to use CustomTabs browser;
- You should create an android package which should contain CustomTabs browser implementation.
- Create CustomTabs browser implementation (which calls your android package implementation) on Unity side, using Packages/com.cdm.authentication/Runtime/Browser/IBrowser.cs interface
- 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