Starting and Logging In to the App
Description
If the Huawei Cloud Meeting client is installed on a user device, the user can start and log in to the client in this mode. The home screen is displayed after login.
1. If the user has not logged in when clicking the link, the user will log in to the client 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 client 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]]]; [[NSWorkspace sharedWorkspace] openURL:schemUrl]; }
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