I am using Phonegap Build (cli-5.2.0) to build my Android / iOS app that i install on my tablets (iOS 9).
I have some problems to store some data in the database, not all.
On Android, the app is working fine.
When instead of the plugin io.litehelpers.cordova.sqlite (0.7.7 npm) i use the native sqlite database of the tablet, the iOS app is also working fine.
So the problem come from the plugin somewhere :)
Is somebody see something wrong in the PhonegapBuild log below?
http://pastebin.com/JfE9RSJd
Thanks
Guillaume.
My problem was due to a code inside the executeSQL callback, so the transaction failled.
Related
This is a high-level question so some general guidance will be helpful here.
I am developing an app using react native and firebase. I have a web version, and am developing a react native app and testing it using iOS simulator.
From yesterday, iOS simulator won't show any image for my app, while the images all show up properly on my web/mobile web versions.
Any potential reasons why this might be happening? New to app development and am very confused, especially because until yesterday all the images were loaded on iOS simulator as well without any problem.
Any idea? Thanks!
is the simulator iOS 14 and your RN version is below 63? if yes this is a known issue you can use a patch package in RN issues in GitHub that fixes this or use react-native-fast-image. I personally use fastImage because it has a lot of benefits.
I did a mobile application using Firebase (Analytics, Crashlytics and Storage). It is working fine on Android and also on iOS so I released the application. Now I notice that none of the Firebase services the app is using is working on iOS when the app is installed from the App Store If I install the app on a device directly from XCode, all is working fine.
Does anyone has an idea of what it may be and how to fix it? I am new to iOS.
Thank you!
All is running fine on Android. The problem appears only on iOS when the app is installed from the App Store.
I found the solution, if it happens to you, generate the archive again and verify it on TestFlight, then publish it on the store if it works. I think something went wrong with my first archive.
I have made a project in Unity, which saves user data on parse.com.
It works well in the Unity editor and has also worked well for months, building and running on iOS device.
So yesterday I updated Unity to 5.6.0f3.
Since then, it is no longer working on my mobile.
So I also made these updates, to try to solve the issue:
macOS Sierra version 10.12.4.
Xcode 8.3.1.
Parse SDK from this link:
https://docs.back4app.com/docs/parse-migration/parse-sdk/how-to-update-parse-sdk-for-unity/
iPhone to iOS version 10.3.1.
So now it still only works in Unity editor.
Meaning I can save and query the database from the Unity editor on my macbook, but when I build to my iphone, it is not working to save or query on my iphone :(
Any advice ??
Ola
I created a Cordova app using the 4.3.0 version and the project for an iOS project.
Whenever I open the index.html (www folder) file in a desktop browser, it gets stuck in an infinite loop requesting gap://ready.
Why is this happening? How can I solve it?
Thanks a lot.
EDIT AND UPDATE:
The iOS app was not working because there was a plugin missing: https://github.com/apache/cordova-plugin-network-information/blob/master/doc/index.md
I added it, then build the project again, and it worked.
You can't test an iOS project on a regular browser, if you want to test on a browser, add browser platform
cordova platform add browser
then
cordova run browser
Don't do this way. Make your site in normal way using XAMPP/WAMP. Copy all the same code and folders. Then Check it. Whatever you make change in XAMPP Site, update it in PhoneGap. It is easier this way.
Both answers wrong. The most correct way is run in your phone simulator or actual device.
For android
cordova emulate android
For ios you need a Mac machine and Xcode.
i started developing an hybrid app using phone gap and jquery. while the
android app is working quite fine, except some performance and usability issues according
effects - like page transitions-, i tried to "port" this app to an iPod touch running iOS 4.3!
calling the camera, the photo library or accessing the filesystem stopped working, and actually i experienced that even the listener for checking if the device got ready stopped working.
well what happened? actually the hooks in the window-object for accessing the filesystem or other features are not available on iOS.
.... ???
thanks in advance
Make sure you are linking to the correct phonegap.js file. Although they are all titled the same, each OS has a different version. Go into the unzipped directory you downloaded from phonegap's site and make sure you're using the iOS version of phonegap.js.
If you upgraded your version of PhoneGap and are still using a project that was made before you upgraded, then you should create a new PhoneGap project in Xcode and put your www folder in the new project. This worked for me.