<img data-attachment-id="24354" data-permalink="http://devblog.blackberry.com/2017/05/ios-app-configuration-samples-for-blackberry-dynamics-apps/giving-their-design-the-seal-of-approval-3/" data-orig-file="/content/dam/devblog-blackberry-com/images/blogs/2017/05/developer-discussion_ek.jpg" data-orig-size="7360,4912" data-comments-opened="1" data-image-meta="{"aperture":"1.4","credit":"Getty Images","camera":"NIKON D800E","caption":"Shot of young designers working around a laptop in an office","created_timestamp":"1395314104","copyright":"Yuri_Arcurs","focal_length":"55","iso":"200","shutter_speed":"0.008","title":"Giving their design the seal of approval","orientation":"1"}" data-image-title="Giving their design the seal of approval" data-image-description="" data-medium-file="/content/dam/devblog-blackberry-com/images/blogs/2017/05/developer-discussion_ek.jpg?w=482&h=321" data-large-file="/content/dam/devblog-blackberry-com/images/blogs/2017/05/developer-discussion_ek.jpg?w=800" class="wp-image-24354 aligncenter" src="/content/dam/devblog-blackberry-com/images/blogs/2017/05/developer-discussion_ek.jpg?w=482&h=321" alt="" width="482" height="321" srcset="/content/dam/devblog-blackberry-com/images/blogs/2017/05/developer-discussion_ek.jpg?w=482&h=321 482w, /content/dam/devblog-blackberry-com/images/blogs/2017/05/developer-discussion_ek.jpg?w=962&h=642 962w, /content/dam/devblog-blackberry-com/images/blogs/2017/05/developer-discussion_ek.jpg?w=150&h=100 150w, /content/dam/devblog-blackberry-com/images/blogs/2017/05/developer-discussion_ek.jpg?w=300&h=200 300w, /content/dam/devblog-blackberry-com/images/blogs/2017/05/developer-discussion_ek.jpg?w=768&h=513 768w" sizes="(max-width: 482px) 100vw, 482px" />
Hello enterprise app developers!
We are excited to announce that we have posted new iOS samples in our BlackBerry GitHub repository. These samples demonstrate how to develop and implement the Application Specific Policy for your BlackBerry Dynamics apps, following the existing Android and Cordova samples.
New samples are available in Objective-C and Swift in the links below:
–The Configurator in Objective-C
–The Configurator in Swift
BlackBerry Dynamics applications can define application specific configurations and policies in XML format – i.e. your application server address that can be different for users or app specific permissions that can be controlled by IT admins.
For a custom dynamics app, the application specific policy file can be uploaded directly onto BlackBerry UEM or Good Control, and then applied remotely to configure an application. For an ISV partner application, the file can be uploaded via its partner organization space and then it would be deployed onto the UEM/GC servers that the application is published.
When an IT admin changes any policies or configurations of the application, the changes will be pushed down to its app, and the app will be alerted automatically when the updated policy arrives. The app can also access the policy settings by calling the:
getApplicationPolicy and getApplicationPolicyString functions in the BlackBerry Dynamics Runtime object API.
For more information, refer to the following post on the BlackBerry Developer Blog: Custom App Policies in BlackBerry Dynamics Applications .
Additionally, the API Reference can be found here in the BlackBerry Developer Community .
That’s it for now. Happy Coding!
<img data-attachment-id="24139" data-permalink="http://devblog.blackberry.com/2017/05/watch-the-developer-webcast-now-join-a-live-forum-qa-may-4th/footer-banner-with-bb-logo-01/" data-orig-file="/content/dam/devblog-blackberry-com/images/blogs/2017/05/footer-banner-with-bb-logo-01.png" data-orig-size="511,114" data-comments-opened="1" data-image-meta="{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}" data-image-title="Footer Banner (with BB Logo)-01" data-image-description="" data-medium-file="/content/dam/devblog-blackberry-com/images/blogs/2017/05/footer-banner-with-bb-logo-01.png?w=800&h=126w=300" data-large-file="/content/dam/devblog-blackberry-com/images/blogs/2017/05/footer-banner-with-bb-logo-01.png?w=800&h=126w=511" class="wp-image-24139 aligncenter" src="/content/dam/devblog-blackberry-com/images/blogs/2017/05/footer-banner-with-bb-logo-01.png?w=800&h=126" height="126" srcset="/content/dam/devblog-blackberry-com/images/blogs/2017/05/footer-banner-with-bb-logo-01.png 511w, /content/dam/devblog-blackberry-com/images/blogs/2017/05/footer-banner-with-bb-logo-01.png?w=150&h=33 150w, /content/dam/devblog-blackberry-com/images/blogs/2017/05/footer-banner-with-bb-logo-01.png?w=300&h=67 300w" sizes="(max-width: 511px) 100vw, 511px" />