Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to 5.0.0 #1

Open
wants to merge 65 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
8aaae5b
GH-292 android: SSL errors handling in Android (#293)
nicolashenry May 8, 2020
dcfe692
fix(ios): Allow loading local html files (#693)
dpalou May 16, 2020
2706f34
(ios) Remove fake status bar with hardcoded height to fix issues in i…
PDLMobileApps Jun 4, 2020
04ce789
chore: update install engines (#685)
jcesarmobile Jun 4, 2020
0903452
(ios): fix regression in 2706f34 (#715)
NiklasMerz Jun 5, 2020
d2b512e
Updated version and RELEASENOTES.md for release 4.0.0 (cordova-plugin…
NiklasMerz Jun 9, 2020
d5fba78
Incremented plugin version. (cordova-plugin-inappbrowser-4.0.0)
NiklasMerz Jun 9, 2020
6d60e4c
(ios): Fix incorrect view height from the second open time
lazydan Jun 19, 2020
bdbb1df
fix(ios): exit event not fired on swipe down (#737)
jcesarmobile Jun 22, 2020
7c2810e
refactor(eslint): use cordova-eslint /w fix (#747)
timbru31 Jul 2, 2020
2fb0a36
chore(npm): use short notation in package.json (#746)
timbru31 Jul 3, 2020
ab8fb44
chore: adds package-lock file (#748)
timbru31 Jul 3, 2020
91ebdf2
Merge pull request #738 from lazydan/master
dpa99c Jul 23, 2020
2a28e09
ios: added InAppBrowserStatusBarStyle preference (#728)
mrbberra Aug 18, 2020
deb8fbe
undo whitespace changes due to editor preferrences
mrbberra Aug 18, 2020
edd7250
add documentation for InAppBrowserStatusBarStyle preference
mrbberra Aug 18, 2020
b7ea751
ci(travis): updates Android API level (#767)
timbru31 Aug 22, 2020
043f96a
Merge pull request #765 from mrbberra/master
dpa99c Sep 1, 2020
2a1c0c0
ci(travis): update osx xcode image (#768)
erisu Sep 3, 2020
46c080f
(ios): allow to set "preferredContentMode" (#688)
NiklasMerz Sep 19, 2020
1020b8f
fix(android): allow compilation in old cordova-android versions (#803)
jcesarmobile Oct 21, 2020
2e6d637
Updated typings (#817)
wrightsonm Nov 17, 2020
e1d0777
fix(android): Add mitigation strategy for CVE-2020-6506 (#792)
carlpoole Nov 17, 2020
af8d268
chore(npm): fix npm audit issues automatically (#819)
NiklasMerz Nov 17, 2020
8a29d88
Updated version and RELEASENOTES.md for release 4.1.0
NiklasMerz Nov 17, 2020
02909a7
Incremented plugin version. (cordova-plugin-inappbrowser-4.1.0)
NiklasMerz Nov 17, 2020
85acc2a
ci(ios): remove wkwebview plugin (#717)
NiklasMerz Nov 23, 2020
11b1347
breaking(android): replace magic numbers with android.os.Build consta…
jcesarmobile Nov 24, 2020
8bdbd18
ci: add node-14.x to workflow (#826)
erisu Nov 28, 2020
de31942
(ios): rename CDVWKProcessPoolFactory (#825)
NiklasMerz Jan 7, 2021
80720a0
chore: bump version to 5.0.0-dev (#822)
jcesarmobile Jan 20, 2021
b496e03
breaking: cleanup code for old android versions (#824)
jcesarmobile Jan 20, 2021
0786260
chore: bump engines requirements (#823)
jcesarmobile Feb 9, 2021
6b92084
feat(ios): add InAppBrowserStatusBarStyle 'darkcontent' configuration…
NiklasMerz Feb 9, 2021
10f2ad7
Updated version and RELEASENOTES.md for release 5.0.0 (cordova-plugin…
NiklasMerz Feb 10, 2021
3b6757f
Incremented plugin version. (cordova-plugin-inappbrowser-5.0.0)
NiklasMerz Feb 10, 2021
2fef304
fix(ios): make system open tel, sms, mailto and geo links (#881)
jcesarmobile Jun 11, 2021
9bc8f76
fix(android): add space between default useragent and custom AppendUs…
NiklasMerz Jun 23, 2021
89c5a6a
ci: add gh-actions workflows (#903)
erisu Sep 16, 2021
2043109
ci: remove travis & appveyor (#906)
erisu Sep 24, 2021
0f468c7
ci: add action-badge (#907)
erisu Sep 24, 2021
1718efa
ci(ios): update workflow w/ iOS 15 (#912)
erisu Oct 18, 2021
dfcffb4
fix(android): increase toolbar to 48dp (#946)
erisu Jul 12, 2022
bd02f45
ci(android): update java requirement for cordova-android@11 (#957)
erisu Jul 16, 2022
a877f62
dep(npm): bump package-lock v2 w/ rebuild (#964)
erisu Aug 10, 2022
405468c
ci: sync workflow with paramedic (#971)
erisu Aug 12, 2022
8ee1d38
fix(docs): missing xml indicator in code block (#977)
DAnn2012 Sep 25, 2022
1e8599a
chore: Update SUPPORT_QUESTION.md template (#1017)
jcesarmobile Aug 25, 2023
178f2d3
chore: use https urls in tests and README (#1016)
jcesarmobile Sep 7, 2023
ec16fee
feat(ios): Make WebView inspectable (#1015)
jcesarmobile Sep 11, 2023
ac16f78
ci(gh-action): Paramedic CI sync (#1020)
breautek Sep 15, 2023
b18b979
feat(android): Download event (#1019)
breautek Sep 15, 2023
d533f2a
chore: 5.1.0-dev (#1021)
breautek Sep 15, 2023
65e86c7
chore: update asf config (#1029)
erisu Oct 19, 2023
d735e13
GH-706 android: Allow permissions requests (#968)
joanbat Oct 27, 2023
31860cf
fix: explicitly import dependencies, instead of relying on PCH files.…
alekop Nov 3, 2023
44ead0f
fix(ios): Remove deprecation warnings and old code (#1031)
jcesarmobile Nov 4, 2023
4b3c0f1
fix!: remove deprecated platforms windows & osx (#1030)
jcesarmobile Nov 4, 2023
51959ec
chore(lint): update eslint config and apply fixes (#1032)
NiklasMerz Nov 6, 2023
bc17634
chore: bump to next major release 6.0.0 (#1033)
NiklasMerz Nov 10, 2023
2b72889
Updated version and RELEASENOTES.md for release 6.0.0
NiklasMerz Nov 10, 2023
f27c663
chore: incremented plugin version 6.0.1-dev
NiklasMerz Nov 10, 2023
eac7303
chore: Remove unused inappbrowser.css file (#1038)
jcesarmobile Nov 28, 2023
dfde59d
ci: sync workflow w/ paramedic (#1068)
erisu Aug 29, 2024
e2d8429
fix(iOS): IAB not showing up in apps using UIScenes (#1067)
dpogue Aug 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 0 additions & 33 deletions .appveyor.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,32 @@
# specific language governing permissions and limitations
# under the License.

github:
description: Apache Cordova InAppBrowser Plugin
homepage: https://cordova.apache.org/

labels:
- android
- cordova
- hacktoberfest
- ios
- java
- javascript
- library
- mobile
- nodejs
- objective-c

features:
wiki: false
issues: true
projects: true

enabled_merge_buttons:
squash: true
merge: false
rebase: false

notifications:
commits: [email protected]
issues: [email protected]
Expand Down
31 changes: 22 additions & 9 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

root: true
extends: semistandard
rules:
indent:
- error
- 4
camelcase: off
padded-blocks: off
operator-linebreak: off
no-throw-literal: off
extends: '@cordova/eslint-config/browser'

overrides:
- files: [tests/**/*.js]
extends: '@cordova/eslint-config/node-tests'
7 changes: 3 additions & 4 deletions .github/ISSUE_TEMPLATE/SUPPORT_QUESTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ For usage and support questions, please check out the resources below. Thanks!

You can get answers to your usage and support questions about **Apache Cordova** on:

* Slack Community Chat: https://cordova.slack.com (you can sign-up at http://slack.cordova.io/)
* GitHub Discussions: https://github.com/apache/cordova/discussions
* Slack Community Chat: https://cordova.slack.com (you can sign-up at https://s.apache.org/cordova-slack)
* StackOverflow: https://stackoverflow.com/questions/tagged/cordova using the tag `cordova`

---
Expand All @@ -22,6 +23,4 @@ If you are using a tool that uses Cordova internally, like e.g. Ionic, check the

* **Ionic Framework**
* [Ionic Community Forum](https://forum.ionicframework.com/)
* [Ionic Worldwide Slack](https://ionicworldwide.herokuapp.com/)
* **PhoneGap**
* [PhoneGap Developer Community](https://forums.adobe.com/community/phonegap)
* [Ionic Discord](https://ionic.link/discord)
161 changes: 161 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

name: Android Testsuite

on:
push:
paths-ignore:
- '**.md'
- 'LICENSE'
- '.eslint*'

pull_request:
paths-ignore:
- '**.md'
- 'LICENSE'
- '.eslint*'

jobs:
test:
name: Android ${{ matrix.versions.android }} Test
runs-on: ubuntu-latest
continue-on-error: true

# hoist configurations to top that are expected to be updated
env:
# Storing a copy of the repo
repo: ${{ github.event.pull_request.head.repo.full_name || github.repository }}

node-version: 20

# These are the default Java configurations used by most tests.
# To customize these options, add "java-distro" or "java-version" to the strategy matrix with its overriding value.
default_java-distro: temurin
default_java-version: 17

# These are the default Android System Image configurations used by most tests.
# To customize these options, add "system-image-arch" or "system-image-target" to the strategy matrix with its overriding value.
default_system-image-arch: x86_64
default_system-image-target: google_apis # Most system images have a google_api option. Set this as default.

# configurations for each testing strategy (test matrix)
strategy:
matrix:
versions:
- android: 7
android-api: 24

- android: 7.1
android-api: 25

- android: 8
android-api: 26

- android: 8.1
android-api: 27
system-image-arch: x86

- android: 9
android-api: 28

- android: 10
android-api: 29

- android: 11
android-api: 30

- android: 12
android-api: 31

- android: 12L
android-api: 32

- android: 13
android-api: 33

- android: 14
android-api: 34

timeout-minutes: 60

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ env.node-version }}
- uses: actions/setup-java@v4
env:
java-version: ${{ matrix.versions.java-version == '' && env.default_java-version || matrix.versions.java-version }}
java-distro: ${{ matrix.versions.java-distro == '' && env.default_java-distro || matrix.versions.java-distro }}
with:
distribution: ${{ env.java-distro }}
java-version: ${{ env.java-version }}

- name: Enable KVM group perms
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm

- name: Run Environment Information
run: |
node --version
npm --version
java -version

- name: Run npm install
run: |
export PATH="/usr/local/lib/android/sdk/platform-tools":$PATH
export JAVA_HOME=$JAVA_HOME_11_X64
npm i -g cordova@latest
npm ci

- name: Run paramedic install
if: ${{ endswith(env.repo, '/cordova-paramedic') != true }}
run: npm i -g github:apache/cordova-paramedic

- uses: reactivecircus/android-emulator-runner@v2
env:
system-image-arch: ${{ matrix.versions.system-image-arch == '' && env.default_system-image-arch || matrix.versions.system-image-arch }}
system-image-target: ${{ matrix.versions.system-image-target == '' && env.default_system-image-target || matrix.versions.system-image-target }}
with:
api-level: ${{ matrix.versions.android-api }}
target: ${{ env.system-image-target }}
arch: ${{ env.system-image-arch }}
force-avd-creation: false
disable-animations: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim
script: echo "Pregenerate the AVD before running Paramedic"

- name: Run paramedic tests
uses: reactivecircus/android-emulator-runner@v2
env:
system-image-arch: ${{ matrix.versions.system-image-arch == '' && env.default_system-image-arch || matrix.versions.system-image-arch }}
system-image-target: ${{ matrix.versions.system-image-target == '' && env.default_system-image-target || matrix.versions.system-image-target }}
test_config: 'android-${{ matrix.versions.android }}.config.json'
# Generally, this should automatically work for cordova-paramedic & plugins. If the path is unique, this can be manually changed.
test_plugin_path: ${{ endswith(env.repo, '/cordova-paramedic') && './spec/testable-plugin/' || './' }}
paramedic: ${{ endswith(env.repo, '/cordova-paramedic') && 'node main.js' || 'cordova-paramedic' }}
with:
api-level: ${{ matrix.versions.android-api }}
target: ${{ env.system-image-target }}
arch: ${{ env.system-image-arch }}
force-avd-creation: false
disable-animations: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim
script: ${{ env.paramedic }} --config ./pr/local/${{ env.test_config }} --plugin ${{ env.test_plugin_path }}
73 changes: 73 additions & 0 deletions .github/workflows/chrome.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

name: Chrome Testsuite

on:
push:
paths-ignore:
- '**.md'
- 'LICENSE'
- '.eslint*'
pull_request:
paths-ignore:
- '**.md'
- 'LICENSE'
- '.eslint*'

jobs:
test:
name: Chrome Latest Test
runs-on: ubuntu-latest

# hoist configurations to top that are expected to be updated
env:
# Storing a copy of the repo
repo: ${{ github.event.pull_request.head.repo.full_name || github.repository }}

node-version: 20

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ env.node-version }}

- name: Run install xvfb
run: sudo apt-get install xvfb

- name: Run Environment Information
run: |
node --version
npm --version

- name: Run npm install
run: |
npm i -g cordova@latest
npm ci

- name: Run paramedic install
if: ${{ endswith(env.repo, '/cordova-paramedic') != true }}
run: npm i -g github:apache/cordova-paramedic

- name: Run paramedic tests
env:
test_config: 'browser.config.json'
# Generally, this should automatically work for cordova-paramedic & plugins. If the path is unique, this can be manually changed.
test_plugin_path: ${{ endswith(env.repo, '/cordova-paramedic') && './spec/testable-plugin/' || './' }}
paramedic: ${{ endswith(env.repo, '/cordova-paramedic') && 'node main.js' || 'cordova-paramedic' }}
run: xvfb-run --auto-servernum ${{ env.paramedic }} --config ./pr/local/${{ env.test_config }} --plugin ${{ env.test_plugin_path }}
Loading