How to solve Phonegap desktop plugins cordova.plugins.diagnostic is undefined error? - cordova-plugins

I'm using Phonegap desktop 0.4.5 to create new Phonegap project with framework 7 (provided by Phonegap desktop 0.4.5).
I have followed the instruction and added
into my config.xml file in my project.
When I run the project in my iPhone iOS 10.3.3, I notice that phonegap desktop downloaded the plugin successfully, but in my iPhone, it said cordova.plugins.diagnostic is undefined.
I don't know what went wrong.
Can someone give me any ideas ?
Thanks you.

Related

Worklight 6.3 project upgrade to MFP 7,1 iPad Environment unable to run

I face a problem when upgrading my project from Worklight 6.3 to MFP 7.1. I'm using MFP 7.1 to build an iPad environment with Worklight 6.3 source code (include using Worklight SDK). Besides that, I'm also copy WorklightSDK folder and files(e.g. libWorklightStaticLibProject.a) to the MFP 7.1 iPad project.
When I run the iPad environment, I get an error "Failed to load webpage with error: The URL can’t be shown" and the screen is stop at IBM landing page.
Anyone can guide or teach me to fix this problem? Thank you.
Besides that, I'm also copy WorklightSDK folder and files(e.g. libWorklightStaticLibProject.a) to the MFP 7.1 iPad project.
What do you mean by that? Is this a Hybrid app or a Native app?
In case of a Hybrid app I suggest for you to try and delete the native folder and re-build the project.
In case of a Native app I suggest that you will remove the WorklightSDK folder from the native project, create a new NativeAPI project in MobileFirst Studio and copy the newly generated WorklightSDK folder to the native project.

Publishing app with Ionic and Cordova on Xcode 7.2 issue

I'm making the publishing of my iOS app that was made with Ionic and cordova.
Everything went well, except for the application loader
I have tried everything but I dont know what is this Toolchain tool.
If you have any info, it will be usefull. Thanks

phoneGap iOs PluginManager

I use phonegap/cordova >= 3.0.0
Unfortunately I don't have an apple developer-membership.
Therefor I created a brandnew phonegap project on my mac. Without developer-key I couldn't run the project from the termina. So I opened xCode and I imported the created project. Now I put my android-project files from my windows computer into the www-order of the mac.
If I now start the app on a simulator by xCode, I always get a pluginManager message I don't understand:
Edit:
I added the plugin by console and now I get this error on xCode:
I just put the entire phonegap folder from android into the ios www folder of xCode. Do I have to readd the plugins on mac then?

Phonegap using CLI to compile windows phone app

Pardon me for asking, or pointing this out, but the windows mobile docs for phonegap are awful.
As of Phonegap 3.0, heres what it still says on the windows platform guide:
Download and extract the latest copy of [PhoneGap. You will be working in the lib\windows-phone-8\wp8 subfolder, lib\windows-phone-8\wp7 contains the Windwos Phone 7 version of Cordova.
However, phonegap is no longer distributed as a zip. It is compiled for your specific OS/SDK in the command line. This doesn't make much sense to me.
phonegap create Test123 -> phonegap cd Test123 -> phonegap build ios will build your ios platform successfully. I've done this with no problems.
But I have no idea where they address how to do this for windows mobile.
Have I overlooked where they state this? Thanks

Titanium studio setup issue (multiple xcode/ios)

I was not able to build sample test app with iOS Simulator. Also I see only iphone is enabled and ipad is not. I have multiple xcode (4.0, 4.0.1, 3.2.5 and 3.2.1) installed on machine.
When I create a new app and build, it actually build to ios 3.1.3 as default. Here is my log http://pastebin.com/y9uX1RSz It finds all sdk and it quits the simulator as soon as it open.
There is an option to change the android sdk folder, but there is no alternative to change the ios SDK version in preferences.
I even try to modify the build deployment sdk to 4.2 with no luck. Also I see there are some plist (stylesheet.plist and debugger.plist) missing. And no demos (kitchensink) available as part of mobilesdk.
I've downloaded Titanium studio 1.0.1 which downloads mobilesdk 1.7.1 on its initial run.
It is the same with mobilesdk 1.7.2 which I've downloaded separately and copied to /library/Application support/Titanium
Update:
The issue is, I was not able to run a sample prj with iphone simulator. Ironically it works if I try to build with Android. The same mobile sdk works if I try from Titanium developer 1.2.2, but I was not able to develop or run sample code with Titanium studio.

Resources