IMbeeCore
What is it?
Basic setup
NSString *apikey, *api_domain, *xmpp_domain;
IMbeeConfig *imbeeConfig = [[IMbeeConfig alloc] initWithServerAddress:api_domain
serverXmpp:xmpp_domain
serverAdmin:nil
xmppUserDomain:@"woowos"
apiKey:apiKey];
[IMbeeCore prepare:imbeeConfig];
if (IMbeeCore.profile.installationCompleted != InstallationCompleted) {
[IMbeeCore registerOrSyncUserWithId:@"arbitrary-id-choosen-by-thirdparty"
deviceName:@"My iPhone"
hardwareId:@"n928c7459ui234c8qncviwt"
platform:@"ios"
osVersion:@"11"
done:^(Profile *profile, bool previously_registered) {
[IMbeeCore connect];
}];
}
else
[IMbeeCore connect];Quick Setup
Examples
Last updated