Add extension information to an iOS Mini Program

Updated at:

This topic describes how to add extension information in the Mini Program console and an IDE, and how to retrieve the extension information in your iOS code.

When you publish a Mini Program from the console by adding a new package, the extension information must be wrapped in launchParams. Otherwise, the iOS client cannot retrieve the extension information.

When you publish a Mini Program from an IDE, click Settings. Then, go to the Configure Mini Program tab to add the extension information.

Get extension information

    NAMApp *app = [NAMServiceGet() findApp:appId version:@"1.0.0.2"];
    NSString *extend_info = app.extend_info;