FusionChart is not displaying in iPad Phonegap Project - ios

Hi I'm developing a Phonegap based iOS Project in which i'm having a section where a fusionchart has to display, if i run my index.html in browser it is working fine but in iPad with in that section Graph is loading message will come but the graph is not at all visible even if i wait for more than 10 mins.
How to render this fusion-chart in my iPad screen.Any help is thanks in advance.

I am not sure of how you are rendering it or how much data you are rendering, however, I have created a small sample which works in XCode iPad simulator.
Please find the sample project from: http://www.sudipto.net/download/ios/phonegap/app/fusioncharts/fusionchartsxt.zip
NOTE: I have mostly followed the steps from http://docs.phonegap.com/en/1.7.0/guide_getting-started_ios_index.md.html#Getting%2520Started%2520with%2520iOS
and
http://docs.fusioncharts.com/charts/contents/FirstChart/UsingPureJS.html

If viable at this stage: Uninstall Phonegap and replace it with Apache Cordova. Phonegapp is a dodgy and profit driven release of the most excellent Cordova by Apache ...
Apache Cordova website

cordov Framework Missing IN This

Related

Ionic 6 app getting CORS error accessing develper.google.com on iPad only

I have an ionic 6 app built with angular and cordova. I can build the app just fine for iOS and it runs on an iPhone with no issues.
But for some reason, when running the same build on an iPad I get CORS error accessing developers.google.com (I assume this is from firebase, which is in my app)
Most of the other questions I've found involve Capacitor, which I am NOT using.
Similar, but I'm not making http requests directly. I'm using AngularFire: https://forum.ionicframework.com/t/cors-issue-when-sending-request-from-ionic-to-firebase-cloud-function/185239
I've been able to repeat this scenario. If I remove the app from the iPad simulator and run it again, it works. However, if I refresh using Safari dev tools, or just re-run the app, the issue occurs. (maybe it's a timing issue?)
erorrs.
Some more information around the erorrs
The way I managed to address this was to switch from the Cordova build to the Capacitor build following the instructions here:
https://capacitorjs.com/docs/cordova/migrating-from-cordova-to-capacitor
Essentially, once I started using the newly create ios folder instead of the old platform/ios that was generated by Cordova, the error stopped.
I don't know why, but maybe this will help someone else.

Angular route is not working with Cordova iOS

I'm facing an issue with Cordova, Cordova-ios 6.2.0 and Angular 12.0.
When I'm building my app with Cordova and launch it in an emulator (or with a device), I'm arriving to a white screen.
I did some research and try some "fix" but nothing worked.
Finlly, I've find that it could be because of the balise.
So, I tried to play with the tag and modify the href with ., ./, / but nothing worked.
I've tried without and it worked, but without routing.
Has someone already had this problem?
The Angular router needs the app to be hosted on a "proper" HTTP scheme and does not work with file: URLs. You can check how your app runs, if you open the JavaScript console for your app running on an iOS device with Chrome and typing location.href. If you see file: you need to set up a custom scheme.
Please checkout the documentation and this announcement https://cordova.apache.org/announcements/2020/06/01/cordova-ios-release-6.0.0.html

Meteor AngularJS Ionic IOS device blank page

I am building a Meteor hybrid app that using AngularJS and ionic, so I decided to use driftyco:ionic, since meteoric:ionic doesn't support Angular.
Everything works fine on web browser, however, it is blank when it runs on ios devices or simulator with no warnings or errors showing. I get rid of driftyco:ionic, content is able to show on ios devices. Thus, I believe there is something I did wrong with driftyco:ionic, so I got a blank page.
My repo https://github.com/yumikohey/bringMe ?
I deployed to 52.89.149.88(most updated) and bring-me.meteor.com(older version)
Thanks for your help.
Create mobile-config.js and add App.accessRule('*');
Re-run meteor

add an activity indicator to show when the app is busy in jquery mobile, phonegap / cordova

I want to display an activity indicator when my app is busy on ios. So far I haven't been able to get it working.
I have tried using:
navigator.notification.activityStart();
Which seems like it's not supported in most recent versions of Phonegap/Cordova.
Does anyone know how to get this working with Phonegap and Jquery mobile?
I was accidentally removed in 1.5 but will be back in 1.6. If you just grab the code from the 1.4.1 JS version and paste it into the 1.5 version it should just work as well.
I had this same problem. Looks like the iOS notification stuff was once a part of the main distribution but now it's a plugin that you have to add to your app. I found the plugin here:
https://github.com/phonegap/phonegap-plugins/tree/master/iOS/NotificationEx
There is a README there with accurate install instructions for recent versions of PhoneGap / Cordova. I got it working pretty quick once I found the plugin.

PhoneGap 0.9.6 (Blackberry) + Sencha Touch 1.1.0: deviceready does not fire

I'm trying to build an app that uses PhoneGap 0.9.6 and Sencha Touch 1.1.0 for Blackberry. (The app is already running fine on iOS and Android).
Unfortunately the crucial deviceready event does not fire anymore once I include the Sencha Touch files. This is how I tested:
Build the PhoneGap example app as described on http://www.phonegap.com/start#blackberry using the BlackBerry WebWorks Packager 2.0.0
Edit index.html so it's shorter and add alerts in init() and deviceInfo() and run the example on the Blackberry emulator 6.0.0.227. (Could not figure out how to add a code block with HTML so please go to http://pastebin.com/rUU1bDbL to see the modified code.) Everything is still working.
Include the css and js of Sencha Touch 1.1.0: http://pastebin.com/Y4Vydby1 After that change the function deviceInfo does not get called anymore.
According to this thread a similar problem with jQuery Mobile can be solved by changing the order of the includes but every combination I tried had the same problem.
Is this a general problem? Is someone successfully using PhoneGap 0.9.6 and Sencha Touch 1.1.0 on Blackberry?
Temporary solution: revert to PhoneGap 0.9.5.1
This seems to be a problem encountered by most people trying to work with Phonegap/Sencha on Blackberry recently.
We found that the basic PhoneGap Sample demo would break as soon as we included the sencha.js library, even though we were not even using it. I.e., the Sample demo runs fine on Blackberry, but if you then include sencha.js it no longer operates properly.
Someone reported that they resolved the problem by reverting to 0.9.5.1 version of PhoneGap. That worked for us, but 1.0.0 does not.
http://groups.google.com/group/phonegap/browse_thread/thread/3ed0192e44a49ad1/6be7980f9164c455?lnk=gst&q=blackberry+sencha#6be7980f9164c455
We would love to see this fixed so that we can be running the latest version of PhoneGap.
The issue has popped on on various forums lately, but doesn't appear to have Phonegap's attention yet.
e.g., https://github.com/phonegap/phonegap-blackberry-webworks/issues/44#issue_comment_form ("No one is assigned")
This seems like a major problem because it makes it impossible for anyone to do anything on a new Blackberry that uses PhoneGap/Sencha. I know there have been a lot of other things fixed between 0.9.5.1 and 1.0.0 so I am worried about fielding an app using the older version.
Keith Levi

Resources