Thanks for your input.
Indeed, this approach could be one of the possible solutions you can use as suggested by the community.
The Device plugin currently uses the oldest - CFUUIDCreate
method to obtain an UUID and saves it to the NSUserDefaults
storage (which as far as I remember is suggested by Apple), thus it is persisted between starts of the app but not installations. Another approaches include the Keychain or the Pasteboard, but indeed, each one has some benefits over the others in some cases. Thus each developer has the ability choose the approach that suits best.
Since the JS SDK of Backend Services is just a wrapper around the Cordova plugins (the device Id is obtained via the Device plugin of Cordova) it seems a cleaner solution to rely on the native behavior as exposed by the plugins.
In regard the Telerik Push Plugin - it is available to all the community and does not work only within the Telerik Platform. On the other hand, it does not handle the device registration to a backend server - it handles only the native push functionality for each platform. Having said that, it is not a responsibility of the plugin to determine the device Id or handle it.
Please, let me know if further questions arise.