Last updated: 2020-10-15 15:54:36

    If Flutter is integrated, how can I obtain custom parameters at the cold start of an iOS device?

    To obtain custom parameters, use the runner->AppDelegate->didFinishLaunchingWithOptions method of the following APIs:

    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 
    {
            // Getting the message content
            NSDictionary *remoteNotification = [launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey];
            // Processing logically based on the message content
    }

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help