Cross-platform application
Cross-platform is a new type of devtodev project for applications designed to run on different operating systems using a shared codebase. The project combines user data from multiple platforms.
Prerequisite
Cross-platform projects use identification by User ID. You need to use your own custom identifiers and set them using the setUserID method during SDK initialization.
Required SDK version: 2.6.0 (Unity 3.10.0) and higher.
Limitations
For now, cross-platform projects do not support:
Push Notifications, A/B tests or Remote Configuration;
Store integrations for market data (Google Play, Apple App Store etc.);
Cohort export;
Subscription tracking and Subscriptions report.
Adding a cross-platform application
Select Cross-platform application as your app type and click
Next.

Give your project a name and select an app type. If you choose the “app” type, gaming events will not be tracked and displayed in the interface, even if they are integrated. Game-related reports will be hidden in the interface. Optionally, you can enable a Test mode to exclude data received during integration. Click
Nextto proceed.

Click
Finishto add the project ot devtodev. Next, you will need to add at least one platform. You will be redirected to Settings to complete the process.

Adding a platform
Click
Add Platfromto select a platform for your app.

Select a platform type from the drop-down list and add a name. This name will appear in the report filters and in project settings.
Click Save to finish.

Edit platform
Click on the pencil icon to make changes.

You can change the name of the platform.
It is possible to delete a platform when there is more than one platform in the list. Click Delete and confirm the action.
When you delete a platform, devtodev stops receiving events from this platform and hides historical data from the reports.
If you would like to save the historical data, do not delete the platform; remove the Platform ID from your integration code.

Integration
The integration process is similar to a standalone type of application. The only difference is an additional Platform ID.
SDK: simply copy the
App ID + Platform IDin the initialization code of the corresponding platform app.Data API: you will need to send the
Platfrom Idseparately with every package as aplatformfield.

Revenue rate settings
You can set up revenue rate and transaction check rules for different platforms in Settings -> Payments integration -> Payments settings.
Cross-platform features
Platform filter
In most of the reports you will see a Platforms filter at the top of the list. By default, the reports will show data from all platforms. You can select a specific platform to inspect it in more detail.

Some reports, like Transactions, will allow you to select several platforms at once.

User card
Here you can check all events the user performed on different platforms.
The user has the same devtodev ID on all platforms.
In the Basic properties tab you will see a dedicated list of properties for each platform and general information about the user in the General section. For example, Install date and device information are platform-specific, so they will be different for each platform section.
The General section stores the Install date of the first-ever platform and updates the Last seen field according to the latest data from any platform.

Cheater/Tester marks are connected to the User card and are not platform-specific. If you mark a user for a cheat transaction on one platform, the user becomes a cheater on all platforms and their transactions become invalid.
SQL
Each table has a platform parameter, the value corresponds to Platform ID in project Settings.
The cross-platform projects store users from all platforms in corresponding tables and also in one common users table. You can find a platform-specific users table by Platform ID in the name postfix.

Last updated
Was this helpful?
