VMware Workspace ONE Community
sourabHere
Contributor
Contributor

Certificate Payload in ApplicationProfile of an airwatch managed app (integrated with airwatch SDK) returns null, even with a certificate included in the credential payload.

We have a airwatch managed app, with Airwatch SDK implemented in the app.

We created an ApplicationProfile and SDKProfile with certificate being included in the credential payload of the respective profiles.

But, when the app is run and debugged,both the profiles are being retrieved, but the certificate payload of the ApplicationProfile is null (though a certificate is embed in the profile).

We also tried handleUpdatedProfile method by adding an observer as suggested by the doc, but the method seems to be deprecated, hence did not work.

Snippet looked as below in ObjC (tried implementing in swift) :

[[NSNotificationCenter defaultCenter]

addObserver:self

selector:@selector(handleUpdatedProfile:)

name:AWNotificationCommandManagerInstalledNewProfile

object:nil];

We are reading the profiles by implementing controllerDidReceive method of AWControllerDelegate.

But the certificate payload of ApplicationProfile is null even with certificate included in the profile.

Can anybody suggest other approaches/methods to resolve the issue?

Thanks In Advance.

0 Replies