All Products
Search
Document Center

Mobile Platform as a Service:Configure project

Last Updated:Mar 16, 2026

After integrating the SDK, you should do some configurations on the project.

Configure project after version upgrade

In 10.1.32 and later versions, you don't have to add the Category file of the APRemoteLogging class. The middle layer will implement packaging to read the file from the meta.config. Therefore, you should check whether there are old-version configurations after upgrading the version. If yes, just remove them. The following figure shows the Category file of the APRemoteLogging class that should be removed from the new version.

old_cate_log

Configure user ID

Configure user ID in the project. The user ID is recorded in tracking logs by default. You can configure the user ID in the category of MPaaSInterface.

@implementation MPaaSInterface (Portal)
- (NSString *)userId
{
    return @"the-user-id";
}
@end

Configure the Client ID

Note

The configuration of device ID functionality is supported in baseline versions 10.2.3.69 and above.

#import "MPMasSettings+CustomClientId.h"
@implementation MPMasSettings (CustomClientId)
- (NSString *)clientId {
 return @"the-client-id";
}
@end

What to do next

You can add the following types of logs: