Skip to content

Commit e83fc51

Browse files
authored
Merge pull request #95 from proyecto26/94-add-your-app-as-the-referrer-android
Add includeReferrer to allow adding Android package name as referrer
2 parents f6325a6 + ea10d4d commit e83fc51

File tree

9 files changed

+219
-120
lines changed

9 files changed

+219
-120
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,15 @@ in case of vulnerabilities.
2424

2525
### Added
2626
- Add custom size option to iOS formSheet Modal by [@ShaneMckenna23](https://github.com/ShaneMckenna23) ([#91](https://github.com/proyecto26/nativescript-inappbrowser/pull/91)).
27+
- Add `includeReferrer` to allow adding android package name as referrer for website to track by [@vincent-paing](https://github.com/vincent-paing) ([#95](https://github.com/proyecto26/nativescript-inappbrowser/pull/95)).
2728

2829
### Fixed
2930
- Complete migration to ns8 and fix build issues by [@rigor789](https://github.com/rigor789) ([#92](https://github.com/proyecto26/nativescript-inappbrowser/pull/92)).
3031
- Fix support `Metadata Filtering` for Android by [@jcassidyav](https://github.com/jcassidyav) ([#93](https://github.com/proyecto26/nativescript-inappbrowser/pull/93)).
3132

33+
### Removed
34+
- Remove `QUERY_ALL_PACKAGES` permission by [@edusperoni](https://github.com/edusperoni) ([#87](https://github.com/proyecto26/nativescript-inappbrowser/pull/87)).
35+
3236
## [3.1.2] - 2021-06-28
3337

3438
### Fixed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ Property | Description
125125
`hasBackButton` (Boolean) | Sets a back arrow instead of the default `X` icon to close the custom tab. [`true`/`false`]
126126
`browserPackage` (String) | Package name of a browser to be used to handle Custom Tabs.
127127
`showInRecents` (Boolean) | Determining whether browsed website should be shown as separate entry in Android recents/multitasking view. [`true`/`false`]
128+
`includeReferrer` (Boolean) | Determining whether to include your package name as referrer for the website to track. [`true`/`false`]
128129

129130
### Demo
130131

demo/app/home/home-view-model.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export class HelloWorldModel extends Observable {
6767
hasBackButton: true,
6868
browserPackage: "com.android.chrome",
6969
showInRecents: true,
70+
includeReferrer: true,
7071
});
7172
await sleep(800);
7273
Dialogs.alert({

src/.npmignore

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,4 @@
22
*.ts
33
!*.d.ts
44
tsconfig.json
5-
scripts/*
6-
platforms/android/*
7-
!platforms/android/include.gradle
8-
!platforms/android/*.aar
9-
!platforms/android/*.jar
105
.DS_Store

0 commit comments

Comments
 (0)