Please take a look at the getServiceProviders API:
There's a GDServiceProvider class that has the information that you're looking for:
Hope that helps,
I am able to access GDServiceProvider class and warning got suppressed using this class.
Another issue I was facing in iOS 11+, related GDServiceProvider list which we can get from following method in GDiOS class :-
[[GDiOS sharedInstance] getServiceProvidersFor:@"com.good.gdservice.edit-file" andVersion:@"22.214.171.124"
But above method returns "nil" array in iOS 11+. The same method returns list of apps which are providing service and working correctly as expected in below iOS 11+.
Could you please guide me on this?
I haven't heard of any issues in iOS 11 for service discovery.
On iOS 11+, which apps do you have installed? Are they all provisioned?
Also, are they all provisioned against the same Good Control or UEM server that your app is provisioned against?
When troubleshooting something like this, I usually broaden my search to see if any apps are discovered.
Try using GDiOS getServiceProviders without any parameters.
This will list every GD app that provides a service.
If you still see issues, please message me your Xcode output logs when the issue occurs.
I am using Xcode 9.1 and testing on device iOS 11.1.2. I have sent Xcode logs to you, kindly review.
From the logs it seems that internally getApplicationDetailsForService() API got called.
And from the documentation it seems to be deprecated.
I took the AppKintetics sample from below URL -
Every time I was able to get nil array from following API running on iOS 11 -
[[GDiOS sharedInstance] getServiceProvidersFor:@"com.good.gdservice.transfer-file" andVersion:@"126.96.36.199"
In iOS versions like iOS 9 and iOS 10, I was able to get the service provider list using above API.
However as per your suggestion I checked GDiOS getServiceProviders without any parameters. For that as well I can only get 2 service providers, however for the same method I am getting 8 service providers.
Looking for your support.