Cómo integrar kits SDK en proyectos para aplicaciones Android
Recomendaciones
When developing projects for Android applications, follow these recommendations:
Nota
Currently, native authentication is supported by the following social networks:
- Set up deep links to return users to the application after they confirm registration via email.
- Customize registration confirmation email.
Nota
You can disable sending of registration confirmation emails if your security principles allow it. Contact your Account Manager to disable it, or email csm@xsolla.com.
- Choose and set up the most suitable method of working with an in-game store. If you wish, you don’t have to implement the cart feature in your game. Instead, implement the ability to make an in-game purchase by clicking the Buy button.
- Set up user redirection to your application after making a payment via an external browser.
- Follow the Unity customization instruction to customize the UI for errors and pop-ups. Errors and pop-ups in the integration demo are created for game developers. Therefore, make them more suitable for the end users of your application.
Establecer vínculos profundos para aplicaciones Android
- Open your project in Publisher Account.
- To set up user redirection to the application after they confirm registration:
- In the side menu, сlick Login.
- Select the Login project and click Configure.
- On the navigation page, go to the Security block and select the OAuth 2.0 section.
- Click on the pencil icon in the line of the required OAuth 2.0 client.
- Specify an OAuth 2.0 redirect URI (a path in the application the user is redirected to after successful authentication, email confirmation, or password reset). You can specify multiple valid URIs.
- Click Save changes.
Nota
The URI must match the scheme
app://xlogin.<ANDROID_PACKAGE_NAME>
, where <ANDROID_PACKAGE_NAME>
is the package name of the Android application.- To set up user redirection to your application after they make a payment via an external browser:
- Click Pay Station in the side menu.
- Go to the Settings tab.
- Specify the required parameters in the Redirect policy section.
- Click Save.
Nota
The return URL (the path in the application the user is redirected to after making a payment) must match the scheme
app://xpayment.<ANDROID_PACKAGE_NAME>
, where <ANDROID_PACKAGE_NAME>
is the package name of the Android application.¿Te ha resultado útil este artículo?
¡Gracias por tu mensaje!
Nos ayudará a mejorar tu experiencia.¿Has encontrado una errata u otro error de texto? Selecciona el texto y pulsa Ctrl+Intro.