🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

ionic-plugin-deeplinks

Package Overview
Dependencies
Maintainers
4
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ionic-plugin-deeplinks - npm Package Compare versions

Comparing version

to
1.0.22

2

package.json
{
"name": "ionic-plugin-deeplinks",
"version": "1.0.20",
"version": "1.0.22",
"cordova": {

@@ -5,0 +5,0 @@ "id": "ionic-plugin-deeplinks",

@@ -54,3 +54,3 @@ # Community Maintained

import { Platform, NavController } from 'ionic-angular';
import { Deeplinks } from '@ionic-native/deeplinks';
import { Deeplinks } from '@ionic-native/deeplinks/ngx';

@@ -88,3 +88,3 @@ export class MyApp {

import { Platform, NavController } from 'ionic-angular';
import { Deeplinks } from '@ionic-native/deeplinks';
import { Deeplinks } from '@ionic-native/deeplinks/ngx';

@@ -180,3 +180,2 @@ export class MyApp {

## iOS Configuration

@@ -189,2 +188,49 @@

### How to set up top-level domains (TLD's)
#### Set up Associated Domains
First you must enable the `Associated Domains` capability in your [provisioning profile](https://developer.apple.com/account/resources/profiles/list).
After that you must enable it in the Xcode project, too.
For automated builds you can do it easily by adding this to your `config.xml`.
<config-file target="*-Debug.plist" parent="com.apple.developer.associated-domains">
<array>
<string>applinks:example.org</string>
</array>
</config-file>
<config-file target="*-Release.plist" parent="com.apple.developer.associated-domains">
<array>
<string>applinks:example.org</string>
</array>
</config-file>
Instead of `applinks` only you could use `<string>webcredentials:example.org</string>` or `<string>activitycontinuation:example.org</string>`, too.
#### Set up Apple App Site Association (AASA)
Your website (i.e. `example.org`) must provide this both files.
* /apple-app-site-association
* /.well-known/apple-app-site-association
The content should contain your app.
{
"applinks": {
"apps": [],
"details": [
{
"appID": "1A234BCD56.org.example",
"paths": [
"NOT \/api\/*",
"NOT \/",
"*"
]
}
]
}
}
This means that all your requests - except /api and / - will be redirected to your app.
Please replace `1A234BCD56` with your TEAM ID and `org.example` with your Bundle-ID. (the `id=""` of your `<widget />`)
## Android Configuration

@@ -202,1 +248,28 @@

```
### How to set up top-level domains (TLD's)
#### Set up [Android App Links](https://developer.android.com/training/app-links)
Your website (i.e. `example.org`) must provide this file.
* /.well-known/assetlinks.json
The content should contain your app.
[
{
"relation": [
"delegate_permission\/common.handle_all_urls"
],
"target": {
"namespace": "android_app",
"package_name": "org.example",
"sha256_cert_fingerprints": [
"12:A3:BC:D4:56:E7:89:F0:12:34:5A:B6:78:90:C1:23:45:DE:67:FA:89:01:2B:C3:45:67:8D:9E:0F:1A:2B:C3"
]
}
}
]
Replace `org.example` with your app package. (the `id=""` of your `<widget />`)
The fingerprints you can get via `$ keytool -list -v -keystore my-release-key.keystore`.
You can test it via https://developers.google.com/digital-asset-links/tools/generator.

@@ -53,3 +53,3 @@ var argscheck = require('cordova/argscheck'),

var matchedParams = self.routeMatch(targetPath, realPath);
var matchedParams = self.routeMatch(pathData, realPath);

@@ -216,3 +216,3 @@ if (matchedParams !== false) {

if (!!data.fragment) {
return self._stripFragmentLeadingHash(data.fragment);
return this._stripFragmentLeadingHash(data.fragment);
}

@@ -232,3 +232,3 @@ }

if (isCustomScheme && !!data.fragment) {
return self._stripFragmentLeadingHash(data.fragment);
return this._stripFragmentLeadingHash(data.fragment);
}

@@ -235,0 +235,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet