RSS

Tag Archives: xcode

How to Change iOS App Name in Ionic 3

To change iOS app name in Ionic 3:

  1. Change `name` property in `config.xml`.
  2. Ionic product name change

  3. Then remove iOS platform with Ionic CLI command.
  4. $ ionic cordova platform rm ios
    
  5. Then add iOS platform back.
  6. $ ionic cordova platform add ios
    
  7. Rebuild the project.
Advertisements
 
Leave a comment

Posted by on December 26, 2018 in General

 

Tags: , , ,

Ionic Plugin Camera Crash

If you add Ionic’s native camera plugin and it crashed when opened in iOS device, add following entries in `Info.plist`, see previous post on how to add entries.

  • NSCameraUsageDescription
  • NSPhotoLibraryUsageDescription
  • NSLocationWhenInUseUsageDescription
  • NSPhotoLibraryAddUsageDescription

It’s important to add description, this is iOS requirement when apps try to access users data.

Source.

 
Leave a comment

Posted by on December 26, 2018 in General

 

Tags: , , , , , , , ,

Ionic Plugin Camera Info.plist

To add entries to `Info.plist`, use `edit-config` tag in `config.xml`, for example:

<edit-config file="*-Info.plist" mode="merge" target="NSCameraUsageDescription">
    <string>need camera access to take pictures</string>
</edit-config>

cordova plugin camera crash

To verify, build Ionic for iOS platform, then open project properties in Xcode.
cordova plugin camera crash 2

Source.

 
1 Comment

Posted by on December 26, 2018 in General

 

Tags: , , , , , , ,

Change iOS App Id in Ionic

To change iOS App Id in Xcode:

  1. In Project Navigator, click on project name.
  2. Then click on General.
  3. Under Identity, change the Bundle Identifier.

Image 2018-05-06 at 9.44.03 PM

To do the same in Ionic iOS project, follow this step:

  1. In the root folder, find config.xml.
  2. At the beginning of the content, find widget element.
  3. Change widget‘s attribute id.

Image 2018-05-06 at 9.41.47 PM

 

 
Leave a comment

Posted by on May 6, 2018 in General

 

Tags: , , , ,

 
%d bloggers like this: