Starting and Logging In to the App
Description
If the Huawei Cloud Meeting app is installed on a user device, the user can start and log in to the app in this mode. The home screen is displayed after login.
1. If the user has not logged in when touching the link, the user will log in to the app using the account used to obtain the token and the home screen is displayed.
2. If the user has logged in, the home screen is displayed. Login is not performed again.
Service Process
- Perform app ID authentication. For details, see Authenticating an App ID in API Reference.
- Obtain a nonce. For details, see Obtaining a Nonce for Redirection Without Login in API Reference.
- Start the Huawei Cloud Meeting app and log in to the home screen. For details, see the following sample code.
Code Sample
- (void)handleEventWithNonce:(NSString *)nonce { NSString * schemeStr = [NSString stringWithFormat:@"cloudlink://welinksoftclient/h5page?page=launch&nonce=%@", nonce]; NSLog(@"schemeStr:%@", schemeStr); NSURL *schemUrl = [[NSURL alloc] initWithString:[schemeStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]]]; [[UIApplication sharedApplication] openURL:schemUrl options:@{} completionHandler:nil]; }
The preceding code is only a logical sample and cannot be directly used.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot