on 04-10-2020 8:49 AM
Hi all,
I am following this blog https://blogs.sap.com/2017/09/02/integrating-the-native-anyline-mrz-scanner-into-a-sap-fiori-app/ to implement OCR scanner capability for my hybrid app.
But my mobile application is getting auto closed when the below api of anyline plugin is executed in the controller code.
scan: function() { cordova.exec( this.onResult, this.onError, "AnylineSDK", "MRZ", this.config); }
I have no idea why this occurs.
Please throw some light here.
Also is it mandatory to install android studio to work on hybrid project? rightnow I have used mobile cloud build option for hyprid app and deployed as packaged app in my android mobile.
Try using logcat while your phone is connected to your computer to know why your app crashes: https://developer.android.com/studio/command-line/logcat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You don’t need the android studio for checking the logs. You do need to install the adb driver for makin connection to your device. You could try this one: https://adb.clockworkmod.com/
You have also specific adb drivers for specific devices. Search on google for adb drivers with the name of your device and you will find the one you need.
cordova still generates a native app, all native apps on android are build with java. Cordova will run java code behind the scene to make your hybrid app work. This is why you need the android studio to build your app. Luckily, SAP provides this build process of android studio in the cloud and you do not have to install anything for building your apps.
User | Count |
---|---|
82 | |
9 | |
9 | |
7 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.