Since Appoxee SDK V2.3 you have the ability to set custom fields
...
- Add a user's first name to create personal push messages: " Hi John, we are...."
- Add a user's birthday and use it to create a periodic birthday campaign to congratulate users on their birthday
- Add a user's level in the game and use it to segment the users according to the level they have reached in your game
...
To do that you can create an NSMutableDictionary with the proper Key/Value pairs and send it with setNumericFields.
Each Method is called through "[ AppoxeeManager sharedManager ]Appoxee.methodName()".
- (void) setDateFields:(NSMutableDictionary*)datesDict;
(Date should be NSString under the following format : yyyy-MM-ddThh:mm:ss )
- (void) setNumericFields:(NSMutableDictionary*)numericValuesDict;
...
Custom Fields Getters/Setters API (Including Quiet Time) :
------------------------------------------------------------------------
//Universal Value Getter, List of Attributes as incoming parameter, List of Values as returning values
public static ArrayList<String> getFromAttributeList(ArrayList<String> listOfAttributes)
//Set Quiet Time for not receiving Push Messages from Server (Not Activated yet)
public static boolean SetQuietTime(String value,String startValue,String endValue)
//Set Custom Field, Return TRUE on success
public static boolean setCustomField(String aName,Object aValue)
//Unset Custom String Fields, Return TRUE on success
public static boolean unsetStringFields(Map<String,String> strFields)