In one of our projects we have the following situation: This app has an Oauth2-Azure integration, which means that users are authorized against Azure. For desktop users this works like a charm. However, Phonegap-app users experience inexplicable behavior. We solved the issue that the user navigates away from the app browser to the phone browser after authorizing against Azure. At least.. we thought so. Our current issue manifests itself when the app user tries to use the barcode scanner and is greeted whith the message 'Unable to detect camera'. The same message appears also when you try to use the scanner widget from a regular browser. The barcode scanner is used at several points for validation of QR-codes and plays a crucial role in the whole process. The barcode scanner works as expected with regular Mendix users in the mobile app. However, for authorization against other background systems (Osisoft) the sign-on via Azure is absolutely necessary. In another project with an older Phonegap & Mendix version we managed to solve this issue with a piece of javascript that keeps the sing-in process within the phonegap app. That doesn't seem to work now.
↧