Cordova iOS version Failure to use ‘edit-config’ tag

I have an Ionic 3 application (Ionic CLI 3.19.0, Cordova CLI 8.0.0, android platform 7.0.0,
ios platform 4.5.4) containing native ” Geolocation” plug-in. Since iOS 10 requires the NSLocationWhenInUseUsageDescription property in the App-Info.plist file, the plug-in documentation (Geolocation iOS Quirks) indicates that the following content should be included in the config.xml:

< /p>


need location access to find things nearby

So I added this verbatim as the first entry in …< / platform>. My config.xml tag .

In the Cordova iOS phase of the build, it failed with the following ambiguous error:

(node:60604)UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: doc.find is not a function

(node:60604) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

As mentioned in the comments above, the required steps are:

>Delete platform ios: Cordova platform delete ios< br>>Add edit-config to the platform name = “ios” tag

< platform name = "ios"> add me here< / platform>> run ready ios: ion cordova ready ios< /p>

I have an Ionic 3 application (Ionic CLI 3.19.0, Cordova CLI 8.0.0, android platform 7.0.0,
ios platform 4.5.4) which contains Native “Geolocation” plug-in. Since iOS 10 requires the NSLocationWhenInUseUsageDescription property in the App-Info.plist file, the plug-in documentation (Geolocation iOS Quirks) indicates that the following content should be included in the config.xml:

< p>


need location access to find things nearby

So I added this verbatim as the first entry in …< / platform>. My config. xml tag.

During the cordova iOS build phase, it failed with the following ambiguous error:

(node:60604)UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: doc.find is not a function

(node:60604) [DEP0018] DeprecationWarning: Unhandled p romise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

< p>As mentioned in the comments above, the required steps are:

>Delete platform ios: cordova platform delete ios
>Add edit-config to platform name=”ios” In the tag

< platform name = "ios">Add me here< / platform>>Run ready ios: ion cordova ready ios

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3718 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.