Skip to content
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.

Update manifestWriter.js to fix #133 in Cordova 8. #135

Closed
wants to merge 6 commits into from

Conversation

walteram
Copy link

This fix the problem reported in #133. Path to AndroidManifest.xml has changed in Cordova 8.

@@ -18,7 +18,7 @@ module.exports = {
* @param {Object} pluginPreferences - plugin preferences as JSON object; already parsed
*/
function writePreferences(cordovaContext, pluginPreferences) {
var pathToManifest = path.join(cordovaContext.opts.projectRoot, 'platforms', 'android', 'AndroidManifest.xml');
var pathToManifest = path.join(cordovaContext.opts.projectRoot, 'platforms', 'android', 'app', 'src', 'main', 'AndroidManifest.xml');
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change it not backwards compatible and will break build with older Cordova android versions. Maybe you should check the cordova android version or copy the whole manifest file so it is compatible with older project structures.

Tobias Wingerter and others added 3 commits May 4, 2018 09:53
@WuglyakBolgoink
Copy link

@nordnet-release / @robsan-nordnet

🆘 Hallo guys! any news? we need this changes urgent in master :( because we can not build app with cordova 8

@nordnet-deprecation-bot
Copy link
Contributor

👋 Hi! Thank you for your interest in this repo.

😢 We are not using nordnet/cordova-universal-links-plugin anymore, and we lack the manpower and the experience needed to maintain it. We are aware of the inconveniece that this may cause you. Feel free to use it as is, or create your own fork.

🔒 This will now be closed & locked.

ℹ️ Please see #160 for more information.

@nordnet nordnet locked and limited conversation to collaborators Sep 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants