Android
React Native
Unity
Help
Search…
2.0.2
Adjoe SDK
Android
Setting up the SDK
Using the SDK
React Native
Setting up the SDK
Using the SDK
Unity
Setting up the SDK
Using the SDK
Apache Cordova
Setting up the SDK
Using the SDK
Cocos2dx
Setting up the SDK
Using the SDK
Flutter
Setting up the SDK
Using the SDK
Playtime Access
Payout
User profile
Other methods
Questions and troubleshooting
Reporting bugs
Enabling logs
Known issues
Changelog
Powered By
GitBook
User profile
If you know the user's gender and/or birthday, you can share them with us so that we can suggest better matching apps to the user.
1
import
'package:adjoe/user_profile.dart'
;
2
import
'package:adjoe/gender.dart'
;
3
​
4
void
setAdjoeProfile
()
{
5
AdjoeUserProfile
profile
=
new
AdjoeUserProfile
()
6
..
birthday
=
_birthday
7
..
gender
=
_gender
;
8
Adjoe
.
setProfile
(
_profileSource
,
profile
).
then
((
_
)
{
9
print
(
'Profile was set'
);
10
},
onError
:
(
err
)
{
11
print
(
'Failed to set profile:
$
err
'
);
12
});
13
}
Copied!
This method call has no effect if the SDK is not initialized, user has not accepted the adjoe Terms of Service or is blocked by the adjoe services.
Adjoe Parameters
You can pass additional UA and placement parameters when you send the user profile:
1
Adjoe
.
setProfile
(
_profileSource
,
profile
,
params
);
Copied!
Previous
Payout
Next
Other methods
Last modified
2mo ago
Copy link
Contents