Autres
Learn about advanced setups from our how-tos.
Recommandations
When developing projects for Android applications, follow these recommendations:
Note
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.
Note
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 UMG UI documentation 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.
Configurer les liens profonds pour les applications Android
To set up user redirection to your application after they make a payment via an external browser:
- Go to Publisher Account.
- Go to your project and click Open in the Pay Station block.
- Go to Settings.
- Specify the required parameters in the Redirect policy section and click Save.
- Go to your UE4 project.
- Go to
Settings > Project Settings > Plugins > Xsolla Store . - Check the
Use Deep Linking box and in theRedirect URL field, enter the return URL (a URL address or a path a user is redirected to after making a payment) specified in the Publisher Account.
To set up returning users to the application after they confirm registration:
- Go to Publisher Account.
- Go to your project and click Open in the Login block.
- Go to Login projects.
- Click Open and set up.
- Go to the URL block, specify Callback URL (a URL address or a path a user is redirected to after successful authentication, email confirmation, or password reset), and click Save changes.
- Go to your UE4 project.
- Go to
Settings > Project Settings > Platforms > Android > Advanced APK Packaging . - Enter the code below in the
Extra Settings for field. In the code, specify callback URL divided into 3 parts. The example below is forsection (/n to separate lines) https://example.com/callback
.
Copy
- java
<intent-filter>
<data android:scheme="https" />
<data android:host="example.com" />
<data android:pathPrefix="/callback" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
</intent-filter>
Cet article vous a été utile ?
Merci pour votre commentaire !
Nous examinerons votre message et l'utiliserons pour améliorer votre expérience.The SDK is a flexible solution that you can customize to fit your specific application.
To modify the SDK code downloaded from the Unreal Engine Marketplace, follow these steps:
- Open the catalog
<UE4 Root>/Engine/Plugins/Marketplace/<Plugin name>
, where:<UE4 Root>
— path to the root directory where Unreal Engine is installed.<Plugin name>
— plugin name.
- Move the directory with the plugin files to
\
, where/Plugins/ \
is the path to your UE4 project. - Make changes to the plugin code and restart the project. You need to confirm the rebuild of the plugin module.
- Delete the
Binaries
andIntermediate
folders.
You don’t need to do any preliminary steps to make changes to the SDK you downloaded from GitHub.
Cet article vous a été utile ?
Merci pour votre commentaire !
Nous examinerons votre message et l'utiliserons pour améliorer votre expérience.Faute de frappe ou autre erreur dans le texte ? Sélectionnez le texte concerné et appuyez sur Ctrl+Entée.