Settings tool plugin in cordova +ios app development - ios

I am creating my app with cordova 2.1.0 framework. I want to add an option in settings page of the device(IPOD/Iphone/Ipad) with a name value pair. So, basically on deployment, the settings tool should get populated with a new option. Is there a cordova plugin to establish this?

Maybe this one is of help ?
https://github.com/phonegap/phonegap-plugins/tree/master/iPhone/ApplicationPreferences
Also note that you will have to create a Settings Bundle outside Cordova, read up here: http://developer.apple.com/library/ios/#documentation/cocoa/Conceptual/UserDefaults/Preferences/Preferences.html

Related

React Native application doesn't show up on settings in iOS

My config:
react-native: 0.66.3
xcode: 13.2.1
When deploying an application to the simulator, or to real device, I cannot access the settings page of the app in iOS.
I have a button that asks for user location, and I should at least see it on the settings page.
I tried to deploy the application on release variant, but same thing.
I checked some solution on the web, and I found a solution with many upvote but it still did not do the trick.
Maybe there is a way to generate a Settings.bundle with cocoa based to the permission that we have ?
In my case, I came across this and I followed these instructions :
Adding the Settings Bundle Open your workspace inner ios folder with
xcode To add a Settings bundle to your Xcode project: Choose File >
New > New File. Under iOS, choose Resource, and then select the
Settings Bundle template. Name the file Settings.bundle.
My application was available on the Settings application on iOS, and I just updated the file with my permissions.
From now, the purpose of this file is to manually add some permission, or information (like the version code).
But the automatic permissions like geolocation will be added automatically.

Selected folder doesn't contain a config.xml in phonegap

I am using windows 7 .my antivirus is now disabled. I want to build a hybrid app. i downloaded phone gap. when i creating new phone gap project their shows "Selected folder doesn't contain a config.xml ". I tried lot of time but i cant able to create a project .after seeing this message selected folder contain 4 folders but it is empty. I want to built a hybrid app but i am stuck in beginning stage.so please help me to solve problem.
i am attaching screenshot of project creation and error message .1st screen shot is how i created project.2nd one is error message when i click create project.3rd one is empty folders created in selected folder for creating project.
When i select a folder with config file it show below error...
It helped me to create the project through the PhoneGap CLI and then just add the project in the Gui. That worked for me
Install phonegap Cli with npm: npm install -g phonegap#latest
Go to your project folder and create the project: phonegap create testproject
Start the PhoneGap Desktop App and add the existing project
We've pinpointed the issue, there seems to be have been a recent change to the template and it seems to have a compatibility issue with the connect-phonegap create API which is used by PhoneGap Desktop to create projects.
We're currently working on a fix.
In the mean time you can also use the PhoneGap CLI as an alternative.

Change ionic bundle identifier not working in IOS

I hade to create a new Ionic app since the first one stopped working.
After that It got new numbers in the end of the name (i.e old name com.ionicframework.test420004, new name com.ionicframework.test122446).
I changed it everywhere (search and replace in VisualStudio 2015) I could find in the project.
IOS still looks for local (downloaded) files with the path of the wrong application name.
Does anybody know how to change it?
In this scenario you have to build it using cordova on a Apple computer. You can't build it and add the platform on a pc and the export the platform to an Apple computer.

how to add plugin without cli in cordova 3.5.0 iOS

I am not using cli for my cordova project ,i got the cordova 3.5.0 project from there site and integrated with my project.All the custom plugins created by me is working fine.But the API's like device is not accessible.I have added the CDVDevice to config.xml but still i can't able to access the device object.
So please help me to solve this problem.
In order to correctly working the Cordova requires you to have cordova_plugins.js file near the cordova.js. That file contains registration of the JS API.
The easiest part is use Plugman to install plugins inside your custom project, that way, it will handle all work on creation of cordova_plugins.js.
Official Cordova documentation for the Plugman
See the possible related answer Cordova 3.5 embedded webview with plugins where I put more insights about how you could modify cordova_plugins.js in case you desperately need this, but I would recommend you to use Plugman.

Create New XCode Project With Existing Package Name

I am currently using Cordova (non CLI). I want to make a new Cordova project for the same code with CLI. If I make it with the same package name, will all the certificates transfer over and work with it? If I make an update to app on App Store will it work if I create this new project?
By package name, if you mean app ID then yes.

Resources