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!
Last modified 7mo ago
Copy link