Skip to content

Commit 09ce83e

Browse files
committed
The [main repository](https://github.com/nordnet/cordova-universal-links-plugin) for this plugin doesn't work on Node 0.10.30, nor on Android 4.1.1. This fork resolves those issues.
1 parent 5fb26f7 commit 09ce83e

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This is a Fork - Don't Use Me (unless you know why you're doing it)
2+
3+
The [main repository](https://github.com/nordnet/cordova-universal-links-plugin) for this plugin doesn't work on Node 0.10.30, nor on Android 4.1.1. This fork resolves those issues.
4+
15
# Cordova Universal Links Plugin
26
This Cordova plugin adds support for opening an application from the browser when user clicks on the link. Better known as:
37
- [Universal Links on iOS](https://developer.apple.com/library/ios/documentation/General/Conceptual/AppSearch/UniversalLinks.html)

hooks/iosBeforePrepareHook.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ function getOldProjectName(projectDir) {
6262
}
6363

6464
var projectFile = '';
65-
files.forEach(function(fileName) {
66-
if (path.extname(fileName) === '.xcodeproj') {
67-
projectFile = path.basename(fileName, '.xcodeproj');
65+
for(var i = 0 ; i < files.length ; i++){
66+
if(path.extname(files[i]) === '.xcodeproj'){
67+
projectFile = path.basename(files[i], '.xcodeproj');
6868
}
69-
});
69+
}
7070

7171
return projectFile;
7272
}

hooks/lib/android/manifestWriter.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,6 @@ function isLaunchActivity(activity) {
260260
function createIntentFilter(host, scheme, pathName) {
261261
var intentFilter = {
262262
'$': {
263-
'android:autoVerify': 'true'
264263
},
265264
'action': [{
266265
'$': {

0 commit comments

Comments
 (0)