Good day,
I am currently developing an android mobile app in my local, with mfp8 server.
I can launch the app in my android phone, and successful fire a call to the mfp server.
I try to edit something on an HTML file in the angular project (mobile app front end). I run some command to deploy the web resource to mfp server:
npm run android
mfpdev app register
mfpdev app webupdate
From the mfp console, I can see that the application and web resources last updated date is matched with the time I run those command.
I am expected after I stop and run the app in my mobile, the app will be able to detect something changes and prompt for update. However, it didn't happen, and my app still nothing changes.
Anyone know what mistake on this? Changes in HTML file should be a correct way to test the direct update right?
Edit **
I just found that in MFP log, there is a line as follow:
[AUDIT ] CWWKS1100A: Authentication did not succeed for user ID ibs_mobile. An invalid user ID or password was specified.
However, I am still able to log in to my app. I am not sure of is this related to my direct update or not.
Use cordova command to prepare the app instead of npm run
Try the following steps
a. cordova prepare android
b. mfpdev app webupdate
Related
Expo SDK 43.0
Expo-Notifications 0.13.3
Android Standalone build using Dev Client and EAS
Wondering if someone can give me a hand to understand what is going on with my Android build and getting a push token. I have followed the guides for both iOS and Android. Inclusive of adding in the FCM server key to expo. I can see it when I use the eas credential command and also if I just log into Expo.dev and look. However when I try to get an expo push token on an Android physical device, I receive this huge exception object that, unless I am missing something crucial, does not have any available information in it. I have attached a screenshot as has the object in it.
Screenshot of the error that I am receiving
As you can imagine, this works fine in iOS builds and fine in the Expo Go client. I also manually sent a notification/Campaign from firebase and every Android device with the application installed received it.
I had developed a flutter application with Razorpay payment gateway. While I run this app in debug mode, it works fine. And hot reload also works fine. Then I generate apk using flutter build apk command, After installing this application with that apk file. While entering into the Razorpay payment gateway the app stops.
And this same case also occurs in another application also, I'd developed another app with Jitsi video connection setup. While entering the Video connection gateway stops. and of course, this also worked fine in debug and hot reload mode.
I'd found something, app stopes only when Loading com.google.android.webview in my above specified two cases.
My log shows that,
I/WebViewFactory(pId): Loading com.google.android.webview version XX.X.XXXX.XXX (code codeId)
I forgot to add proguard-rules.pro file at android/app. So only these two apps stoped while installed with apk.
For Gitsi - https://github.com/gunschu/jitsi_meet/blob/master/example/android/app/proguard-rules.pro
For Razorpay - https://github.com/razorpay/razorpay-flutter/issues/42
How do I build the react-native app so I can test it in hockeyapp without being connected?
I'm using react-native-hockeyapp and successfully built the app, which listed it on hockeyapp, but now with the hockeyapp changes:
It does not run on a connected device with run-android and I get a white screen and no console debug messages anymore.
When I uploaded the app_Debug.apk to the hockeyapp by dragging it on the website, I got an invite. Run it on my device and get the white screen and the following two errors:
a. unable to load script from assets 'index.android.bundle'. Make sure your bundle is pakcaged correctly...
It then shows a white screen.
b. If I shake and press reload it says: could not connect ot development server. I don't want to connect to development server. I want to test it disconnected!
How do I build the app? In Android Studio? Any pointer to instructions?
And how do I preserve the possibility to react-native run-android so that I can test it locally and debug quickly for development?
I created a keystore and then went to myproject/android folder and gradlew assembleRelease
See https://github.com/benloopcompany/react-native-hockeyapp/issues/84 for more details
I built a react-meteor android app, which I signed with Android Studio for a release.
The app is loading with a splash screen and then stuck in den loading screen of my React Komposer ( I guess the subscription does not get ready ).
However running the app via:
meteor run android-device --mobile-server https://fuldacity.de
runs the app successful, as well as running from signed debug apk.
I really do not now where to start to debug this problem. I guess there is a possiblity to get some error logs out of Android Studio? I would be really glad on any inspiration on how to tackle this problem!
Furthermore I have the feeling it is connected to my setup. I have a domain hosted by domainfactory, where I also get my https certificate from. The domain is then redirected to Heroku, where my App is hosted. I furthermore redirect all http:// accesses to https:// via the Meteor package force-ssl.
`
Try like this:
meteor add-platform android
After
meteor install-sdk android
After
meteor run android-device --mobile-server https://fuldacity.de
Long story short the error was on domainfactory where I have choosen the IP instead of the domainname as A configuration for the nameserver.
Domainfactory does not allow a the correct settings for usage of heroku. Now I use the nameservers of Route 53 which could setup the right CNAME settings to heroku.
For the debugging I also learned that you can
meteor run android-device --server https://fuldacity
then go to your chrome browser (on your pc) open the developer tools and there you can find remote devices which gives you all the error outputs from the client side!
This let me to the network error, which only appeared on the mobile devices.
I'm making a todo list app, using meteor and cordova full code is at: github.
I've added an Android app version. Login is via accounts-password.
The server is running via nodejs with an nginx frontend.
The problem:
If I build the server with the android-platform then connect an android device to it the login buttons appear briefly but then the screen refreshes and they're gone and will not return unless the app cache is cleared.
If I build the server without the android-platform then it works fine. This happens with meteor run android (emulated). meteor run android-device and via loading an APK from the play store.
I assume what is happening is building the server with android platform results in a different version of the code being put on the server which then gets pushed to the phone when it connects.
But I have no clue how to debug this.