From 0d47b78b7d38322514c10079435da633d5e595ab Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Wed, 20 Jan 2021 19:40:11 +0100 Subject: [PATCH 01/13] chore: Update gradle plugin (#197) --- action-sheet/android/build.gradle | 2 +- app-launcher/android/build.gradle | 2 +- app/android/build.gradle | 2 +- browser/android/build.gradle | 2 +- camera/android/build.gradle | 2 +- clipboard/android/build.gradle | 2 +- device/android/build.gradle | 2 +- dialog/android/build.gradle | 2 +- filesystem/android/build.gradle | 2 +- geolocation/android/build.gradle | 2 +- haptics/android/build.gradle | 2 +- keyboard/android/build.gradle | 2 +- local-notifications/android/build.gradle | 2 +- network/android/build.gradle | 2 +- push-notifications/android/build.gradle | 2 +- screen-reader/android/build.gradle | 2 +- share/android/build.gradle | 2 +- splash-screen/android/build.gradle | 2 +- status-bar/android/build.gradle | 2 +- storage/android/build.gradle | 2 +- text-zoom/android/build.gradle | 2 +- toast/android/build.gradle | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/action-sheet/android/build.gradle b/action-sheet/android/build.gradle index 8f68bfe79..05c45e9d9 100644 --- a/action-sheet/android/build.gradle +++ b/action-sheet/android/build.gradle @@ -12,7 +12,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.1.2' } } diff --git a/app-launcher/android/build.gradle b/app-launcher/android/build.gradle index f0f882791..1aff8b87f 100644 --- a/app-launcher/android/build.gradle +++ b/app-launcher/android/build.gradle @@ -11,7 +11,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.1.2' } } diff --git a/app/android/build.gradle b/app/android/build.gradle index f0f882791..1aff8b87f 100644 --- a/app/android/build.gradle +++ b/app/android/build.gradle @@ -11,7 +11,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.1.2' } } diff --git a/browser/android/build.gradle b/browser/android/build.gradle index b3d3ecbf8..d4a63c437 100644 --- a/browser/android/build.gradle +++ b/browser/android/build.gradle @@ -12,7 +12,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.1.2' } } diff --git a/camera/android/build.gradle b/camera/android/build.gradle index 8678aad2d..29930a58c 100644 --- a/camera/android/build.gradle +++ b/camera/android/build.gradle @@ -13,7 +13,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.1.2' } } diff --git a/clipboard/android/build.gradle b/clipboard/android/build.gradle index f0f882791..1aff8b87f 100644 --- a/clipboard/android/build.gradle +++ b/clipboard/android/build.gradle @@ -11,7 +11,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.1.2' } } diff --git a/device/android/build.gradle b/device/android/build.gradle index f0f882791..1aff8b87f 100644 --- a/device/android/build.gradle +++ b/device/android/build.gradle @@ -11,7 +11,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.1.2' } } diff --git a/dialog/android/build.gradle b/dialog/android/build.gradle index f0f882791..1aff8b87f 100644 --- a/dialog/android/build.gradle +++ b/dialog/android/build.gradle @@ -11,7 +11,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.1.2' } } diff --git a/filesystem/android/build.gradle b/filesystem/android/build.gradle index 479475682..fce31ca8a 100644 --- a/filesystem/android/build.gradle +++ b/filesystem/android/build.gradle @@ -10,7 +10,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.1.2' } } diff --git a/geolocation/android/build.gradle b/geolocation/android/build.gradle index 251183892..2f5dbf6af 100644 --- a/geolocation/android/build.gradle +++ b/geolocation/android/build.gradle @@ -11,7 +11,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.1.2' } } diff --git a/haptics/android/build.gradle b/haptics/android/build.gradle index f0f882791..1aff8b87f 100644 --- a/haptics/android/build.gradle +++ b/haptics/android/build.gradle @@ -11,7 +11,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.1.2' } } diff --git a/keyboard/android/build.gradle b/keyboard/android/build.gradle index f0f882791..1aff8b87f 100644 --- a/keyboard/android/build.gradle +++ b/keyboard/android/build.gradle @@ -11,7 +11,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.1.2' } } diff --git a/local-notifications/android/build.gradle b/local-notifications/android/build.gradle index be79102f6..bce96f0dc 100644 --- a/local-notifications/android/build.gradle +++ b/local-notifications/android/build.gradle @@ -11,7 +11,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.1.2' } } diff --git a/network/android/build.gradle b/network/android/build.gradle index f0f882791..1aff8b87f 100644 --- a/network/android/build.gradle +++ b/network/android/build.gradle @@ -11,7 +11,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.1.2' } } diff --git a/push-notifications/android/build.gradle b/push-notifications/android/build.gradle index 0848ff252..c39e11ea4 100644 --- a/push-notifications/android/build.gradle +++ b/push-notifications/android/build.gradle @@ -12,7 +12,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.1.2' } } diff --git a/screen-reader/android/build.gradle b/screen-reader/android/build.gradle index f0f882791..1aff8b87f 100644 --- a/screen-reader/android/build.gradle +++ b/screen-reader/android/build.gradle @@ -11,7 +11,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.1.2' } } diff --git a/share/android/build.gradle b/share/android/build.gradle index e2415b18a..36f65ff15 100644 --- a/share/android/build.gradle +++ b/share/android/build.gradle @@ -12,7 +12,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.1.2' } } diff --git a/splash-screen/android/build.gradle b/splash-screen/android/build.gradle index f0f882791..1aff8b87f 100644 --- a/splash-screen/android/build.gradle +++ b/splash-screen/android/build.gradle @@ -11,7 +11,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.1.2' } } diff --git a/status-bar/android/build.gradle b/status-bar/android/build.gradle index f0f882791..1aff8b87f 100644 --- a/status-bar/android/build.gradle +++ b/status-bar/android/build.gradle @@ -11,7 +11,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.1.2' } } diff --git a/storage/android/build.gradle b/storage/android/build.gradle index f0f882791..1aff8b87f 100644 --- a/storage/android/build.gradle +++ b/storage/android/build.gradle @@ -11,7 +11,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.1.2' } } diff --git a/text-zoom/android/build.gradle b/text-zoom/android/build.gradle index f0f882791..1aff8b87f 100644 --- a/text-zoom/android/build.gradle +++ b/text-zoom/android/build.gradle @@ -11,7 +11,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.1.2' } } diff --git a/toast/android/build.gradle b/toast/android/build.gradle index f0f882791..1aff8b87f 100644 --- a/toast/android/build.gradle +++ b/toast/android/build.gradle @@ -11,7 +11,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.1.2' } } From 11960d8eab7e5cf11ce0794de2b7bc1c0c4b3b12 Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Wed, 20 Jan 2021 20:44:50 +0100 Subject: [PATCH 02/13] chore: Update default gradle dependency versions (#201) --- action-sheet/android/build.gradle | 10 +++++----- app-launcher/android/build.gradle | 8 ++++---- app/android/build.gradle | 8 ++++---- browser/android/build.gradle | 10 +++++----- camera/android/build.gradle | 10 +++++----- clipboard/android/build.gradle | 8 ++++---- device/android/build.gradle | 8 ++++---- dialog/android/build.gradle | 8 ++++---- filesystem/android/build.gradle | 6 +++--- geolocation/android/build.gradle | 8 ++++---- haptics/android/build.gradle | 8 ++++---- keyboard/android/build.gradle | 8 ++++---- local-notifications/android/build.gradle | 8 ++++---- network/android/build.gradle | 8 ++++---- push-notifications/android/build.gradle | 10 +++++----- screen-reader/android/build.gradle | 8 ++++---- share/android/build.gradle | 10 +++++----- splash-screen/android/build.gradle | 8 ++++---- status-bar/android/build.gradle | 8 ++++---- storage/android/build.gradle | 8 ++++---- text-zoom/android/build.gradle | 8 ++++---- toast/android/build.gradle | 8 ++++---- 22 files changed, 92 insertions(+), 92 deletions(-) diff --git a/action-sheet/android/build.gradle b/action-sheet/android/build.gradle index 05c45e9d9..4ede1fedd 100644 --- a/action-sheet/android/build.gradle +++ b/action-sheet/android/build.gradle @@ -1,9 +1,9 @@ ext { - junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12' - androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.1.0' - androidxMaterialVersion = project.hasProperty('androidxMaterialVersion') ? rootProject.ext.androidxMaterialVersion : '1.1.0-rc02' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.2.0' + junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1' + androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0' + androidxMaterialVersion = project.hasProperty('androidxMaterialVersion') ? rootProject.ext.androidxMaterialVersion : '1.3.0-rc01' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0' } buildscript { diff --git a/app-launcher/android/build.gradle b/app-launcher/android/build.gradle index 1aff8b87f..22570169b 100644 --- a/app-launcher/android/build.gradle +++ b/app-launcher/android/build.gradle @@ -1,8 +1,8 @@ ext { - junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12' - androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.1.0' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.2.0' + junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1' + androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0' } buildscript { diff --git a/app/android/build.gradle b/app/android/build.gradle index 1aff8b87f..22570169b 100644 --- a/app/android/build.gradle +++ b/app/android/build.gradle @@ -1,8 +1,8 @@ ext { - junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12' - androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.1.0' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.2.0' + junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1' + androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0' } buildscript { diff --git a/browser/android/build.gradle b/browser/android/build.gradle index d4a63c437..42e5f777e 100644 --- a/browser/android/build.gradle +++ b/browser/android/build.gradle @@ -1,9 +1,9 @@ ext { - junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12' - androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.1.0' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.2.0' - androidxBrowserVersion = project.hasProperty('androidxBrowserVersion') ? rootProject.ext.androidxBrowserVersion : '1.2.0' + junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1' + androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0' + androidxBrowserVersion = project.hasProperty('androidxBrowserVersion') ? rootProject.ext.androidxBrowserVersion : '1.3.0' } buildscript { diff --git a/camera/android/build.gradle b/camera/android/build.gradle index 29930a58c..b88a9c76b 100644 --- a/camera/android/build.gradle +++ b/camera/android/build.gradle @@ -1,10 +1,10 @@ ext { - junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12' + junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1' androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.2.0' - androidxExifInterfaceVersion = project.hasProperty('androidxExifInterfaceVersion') ? rootProject.ext.androidxExifInterfaceVersion : '1.2.0' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1' - androidxMaterialVersion = project.hasProperty('androidxMaterialVersion') ? rootProject.ext.androidxMaterialVersion : '1.1.0-rc02' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0' + androidxExifInterfaceVersion = project.hasProperty('androidxExifInterfaceVersion') ? rootProject.ext.androidxExifInterfaceVersion : '1.3.2' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2' + androidxMaterialVersion = project.hasProperty('androidxMaterialVersion') ? rootProject.ext.androidxMaterialVersion : '1.3.0-rc01' } buildscript { diff --git a/clipboard/android/build.gradle b/clipboard/android/build.gradle index 1aff8b87f..22570169b 100644 --- a/clipboard/android/build.gradle +++ b/clipboard/android/build.gradle @@ -1,8 +1,8 @@ ext { - junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12' - androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.1.0' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.2.0' + junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1' + androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0' } buildscript { diff --git a/device/android/build.gradle b/device/android/build.gradle index 1aff8b87f..22570169b 100644 --- a/device/android/build.gradle +++ b/device/android/build.gradle @@ -1,8 +1,8 @@ ext { - junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12' - androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.1.0' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.2.0' + junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1' + androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0' } buildscript { diff --git a/dialog/android/build.gradle b/dialog/android/build.gradle index 1aff8b87f..22570169b 100644 --- a/dialog/android/build.gradle +++ b/dialog/android/build.gradle @@ -1,8 +1,8 @@ ext { - junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12' - androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.1.0' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.2.0' + junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1' + androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0' } buildscript { diff --git a/filesystem/android/build.gradle b/filesystem/android/build.gradle index fce31ca8a..4c7b4e3e7 100644 --- a/filesystem/android/build.gradle +++ b/filesystem/android/build.gradle @@ -1,7 +1,7 @@ ext { - junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.2.0' + junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0' } buildscript { diff --git a/geolocation/android/build.gradle b/geolocation/android/build.gradle index 2f5dbf6af..e21f2714c 100644 --- a/geolocation/android/build.gradle +++ b/geolocation/android/build.gradle @@ -1,8 +1,8 @@ ext { - junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.2.0' - playServicesLocationVersion = project.hasProperty('playServicesLocationVersion') ? rootProject.ext.playServicesLocationVersion : '17.0.0' + junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0' + playServicesLocationVersion = project.hasProperty('playServicesLocationVersion') ? rootProject.ext.playServicesLocationVersion : '17.1.0' } buildscript { diff --git a/haptics/android/build.gradle b/haptics/android/build.gradle index 1aff8b87f..22570169b 100644 --- a/haptics/android/build.gradle +++ b/haptics/android/build.gradle @@ -1,8 +1,8 @@ ext { - junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12' - androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.1.0' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.2.0' + junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1' + androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0' } buildscript { diff --git a/keyboard/android/build.gradle b/keyboard/android/build.gradle index 1aff8b87f..22570169b 100644 --- a/keyboard/android/build.gradle +++ b/keyboard/android/build.gradle @@ -1,8 +1,8 @@ ext { - junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12' - androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.1.0' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.2.0' + junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1' + androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0' } buildscript { diff --git a/local-notifications/android/build.gradle b/local-notifications/android/build.gradle index bce96f0dc..95194de6f 100644 --- a/local-notifications/android/build.gradle +++ b/local-notifications/android/build.gradle @@ -1,8 +1,8 @@ ext { - junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12' - androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.1.0' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.2.0' + junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1' + androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0' } buildscript { diff --git a/network/android/build.gradle b/network/android/build.gradle index 1aff8b87f..22570169b 100644 --- a/network/android/build.gradle +++ b/network/android/build.gradle @@ -1,8 +1,8 @@ ext { - junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12' - androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.1.0' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.2.0' + junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1' + androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0' } buildscript { diff --git a/push-notifications/android/build.gradle b/push-notifications/android/build.gradle index c39e11ea4..bbb48586c 100644 --- a/push-notifications/android/build.gradle +++ b/push-notifications/android/build.gradle @@ -1,9 +1,9 @@ ext { - junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12' - androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.1.0' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.2.0' - firebaseMessagingVersion = project.hasProperty('firebaseMessagingVersion') ? rootProject.ext.firebaseMessagingVersion : '20.1.2' + junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1' + androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0' + firebaseMessagingVersion = project.hasProperty('firebaseMessagingVersion') ? rootProject.ext.firebaseMessagingVersion : '21.0.1' } buildscript { diff --git a/screen-reader/android/build.gradle b/screen-reader/android/build.gradle index 1aff8b87f..22570169b 100644 --- a/screen-reader/android/build.gradle +++ b/screen-reader/android/build.gradle @@ -1,8 +1,8 @@ ext { - junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12' - androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.1.0' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.2.0' + junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1' + androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0' } buildscript { diff --git a/share/android/build.gradle b/share/android/build.gradle index 36f65ff15..d25c66d48 100644 --- a/share/android/build.gradle +++ b/share/android/build.gradle @@ -1,9 +1,9 @@ ext { - junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12' - androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.1.0' - androidxCoreVersion = project.hasProperty('androidxCoreVersion') ? rootProject.ext.androidxCoreVersion : '1.2.0' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.2.0' + junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1' + androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0' + androidxCoreVersion = project.hasProperty('androidxCoreVersion') ? rootProject.ext.androidxCoreVersion : '1.3.2' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0' } buildscript { diff --git a/splash-screen/android/build.gradle b/splash-screen/android/build.gradle index 1aff8b87f..22570169b 100644 --- a/splash-screen/android/build.gradle +++ b/splash-screen/android/build.gradle @@ -1,8 +1,8 @@ ext { - junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12' - androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.1.0' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.2.0' + junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1' + androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0' } buildscript { diff --git a/status-bar/android/build.gradle b/status-bar/android/build.gradle index 1aff8b87f..22570169b 100644 --- a/status-bar/android/build.gradle +++ b/status-bar/android/build.gradle @@ -1,8 +1,8 @@ ext { - junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12' - androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.1.0' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.2.0' + junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1' + androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0' } buildscript { diff --git a/storage/android/build.gradle b/storage/android/build.gradle index 1aff8b87f..22570169b 100644 --- a/storage/android/build.gradle +++ b/storage/android/build.gradle @@ -1,8 +1,8 @@ ext { - junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12' - androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.1.0' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.2.0' + junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1' + androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0' } buildscript { diff --git a/text-zoom/android/build.gradle b/text-zoom/android/build.gradle index 1aff8b87f..22570169b 100644 --- a/text-zoom/android/build.gradle +++ b/text-zoom/android/build.gradle @@ -1,8 +1,8 @@ ext { - junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12' - androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.1.0' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.2.0' + junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1' + androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0' } buildscript { diff --git a/toast/android/build.gradle b/toast/android/build.gradle index 1aff8b87f..22570169b 100644 --- a/toast/android/build.gradle +++ b/toast/android/build.gradle @@ -1,8 +1,8 @@ ext { - junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12' - androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.1.0' - androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1' - androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.2.0' + junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1' + androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0' + androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2' + androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0' } buildscript { From 250cadd77bf95a0977623e9df189416c5e743511 Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Wed, 20 Jan 2021 20:57:55 +0100 Subject: [PATCH 03/13] chore(android): Remove unused imports (#198) --- .../plugins/localnotifications/NotificationStorage.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/local-notifications/android/src/main/java/com/capacitorjs/plugins/localnotifications/NotificationStorage.java b/local-notifications/android/src/main/java/com/capacitorjs/plugins/localnotifications/NotificationStorage.java index 3399d6563..009f28d8d 100644 --- a/local-notifications/android/src/main/java/com/capacitorjs/plugins/localnotifications/NotificationStorage.java +++ b/local-notifications/android/src/main/java/com/capacitorjs/plugins/localnotifications/NotificationStorage.java @@ -5,13 +5,10 @@ import com.getcapacitor.JSObject; import java.text.ParseException; import java.util.ArrayList; -import java.util.Collection; -import java.util.Date; import java.util.List; import java.util.Map; import java.util.Set; import org.json.JSONException; -import org.json.JSONObject; /** * Class used to abstract storage for notification data From 0e6c76699f8c54af6a6bdc320d98518833d6f584 Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Wed, 20 Jan 2021 21:23:53 +0100 Subject: [PATCH 04/13] chore(push-notifications): Remove s.static_framework = true from podspec (#199) --- push-notifications/CapacitorPushNotifications.podspec | 1 - 1 file changed, 1 deletion(-) diff --git a/push-notifications/CapacitorPushNotifications.podspec b/push-notifications/CapacitorPushNotifications.podspec index debc7dee2..88b1f0e4b 100644 --- a/push-notifications/CapacitorPushNotifications.podspec +++ b/push-notifications/CapacitorPushNotifications.podspec @@ -13,6 +13,5 @@ Pod::Spec.new do |s| s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}' s.ios.deployment_target = '12.0' s.dependency 'Capacitor' - s.static_framework = true s.swift_version = '5.1' end From 2dfc7a3261a4f98871a86fe6d47fab084a2d1deb Mon Sep 17 00:00:00 2001 From: Carl Poole Date: Thu, 21 Jan 2021 16:23:51 -0600 Subject: [PATCH 05/13] fix(android): permissions use "publicStorage" as alias (#202) --- .../plugins/filesystem/FilesystemPlugin.java | 117 ++++++++---------- 1 file changed, 52 insertions(+), 65 deletions(-) diff --git a/filesystem/android/src/main/java/com/capacitorjs/plugins/filesystem/FilesystemPlugin.java b/filesystem/android/src/main/java/com/capacitorjs/plugins/filesystem/FilesystemPlugin.java index 0c33b8b78..b97ac24c5 100644 --- a/filesystem/android/src/main/java/com/capacitorjs/plugins/filesystem/FilesystemPlugin.java +++ b/filesystem/android/src/main/java/com/capacitorjs/plugins/filesystem/FilesystemPlugin.java @@ -22,15 +22,14 @@ @CapacitorPlugin( name = "Filesystem", permissions = { - @Permission(strings = { Manifest.permission.READ_EXTERNAL_STORAGE }, alias = FilesystemPlugin.READ_STORAGE), - @Permission(strings = { Manifest.permission.WRITE_EXTERNAL_STORAGE }, alias = FilesystemPlugin.WRITE_STORAGE) + @Permission( + strings = { Manifest.permission.READ_EXTERNAL_STORAGE, Manifest.permission.WRITE_EXTERNAL_STORAGE }, + alias = "publicStorage" + ) } ) public class FilesystemPlugin extends Plugin { - static final String READ_STORAGE = "readStorage"; - static final String WRITE_STORAGE = "writeStorage"; - private Filesystem implementation; @Override @@ -40,7 +39,7 @@ public void load() { private static final String PERMISSION_DENIED_ERROR = "Unable to do file operation, user denied permission request"; - @PluginMethod(permissionCallback = "readPermissionsCallback") + @PluginMethod(permissionCallback = "permissionCallback") public void readFile(PluginCall call) { String path = call.getString("path"); String directory = getDirectoryParameter(call); @@ -52,8 +51,8 @@ public void readFile(PluginCall call) { return; } - if (!isPublicDirectory(directory) && !isStoragePermissionGranted(READ_STORAGE)) { - requestPermissionForAlias(READ_STORAGE, call); + if (!isPublicDirectory(directory) && !isStoragePermissionGranted()) { + requestAllPermissions(call); } else { try { String dataStr = implementation.readFile(path, directory, charset); @@ -70,7 +69,7 @@ public void readFile(PluginCall call) { } } - @PluginMethod(permissionCallback = "writePermissionsCallback") + @PluginMethod(permissionCallback = "permissionCallback") public void writeFile(PluginCall call) { String path = call.getString("path"); String data = call.getString("data"); @@ -90,8 +89,8 @@ public void writeFile(PluginCall call) { String directory = getDirectoryParameter(call); if (directory != null) { - if (!isPublicDirectory(directory) && !isStoragePermissionGranted(WRITE_STORAGE)) { - requestPermissionForAlias(WRITE_STORAGE, call); + if (!isPublicDirectory(directory) && !isStoragePermissionGranted()) { + requestAllPermissions(call); } else { // create directory because it might not exist File androidDir = implementation.getDirectory(directory); @@ -120,8 +119,8 @@ public void writeFile(PluginCall call) { File fileObject = new File(u.getPath()); // do not know where the file is being store so checking the permission to be secure // TODO to prevent permission checking we need a property from the call - if (!isStoragePermissionGranted(WRITE_STORAGE)) { - requestPermissionForAlias(WRITE_STORAGE, call); + if (!isStoragePermissionGranted()) { + requestAllPermissions(call); } else { if (fileObject.getParentFile().exists() || (recursive && fileObject.getParentFile().mkdirs())) { saveFile(call, fileObject, data); @@ -163,7 +162,7 @@ private void saveFile(PluginCall call, File file, String data) { } } - @PluginMethod(permissionCallback = "writePermissionsCallback") + @PluginMethod(permissionCallback = "permissionCallback") public void appendFile(PluginCall call) { try { call.getData().putOpt("append", true); @@ -172,12 +171,12 @@ public void appendFile(PluginCall call) { this.writeFile(call); } - @PluginMethod(permissionCallback = "writePermissionsCallback") + @PluginMethod(permissionCallback = "permissionCallback") public void deleteFile(PluginCall call) { String file = call.getString("path"); String directory = getDirectoryParameter(call); - if (!isPublicDirectory(directory) && !isStoragePermissionGranted(WRITE_STORAGE)) { - requestPermissionForAlias(WRITE_STORAGE, call); + if (!isPublicDirectory(directory) && !isStoragePermissionGranted()) { + requestAllPermissions(call); } else { try { boolean deleted = implementation.deleteFile(file, directory); @@ -192,13 +191,13 @@ public void deleteFile(PluginCall call) { } } - @PluginMethod(permissionCallback = "writePermissionsCallback") + @PluginMethod(permissionCallback = "permissionCallback") public void mkdir(PluginCall call) { String path = call.getString("path"); String directory = getDirectoryParameter(call); boolean recursive = call.getBoolean("recursive", false).booleanValue(); - if (!isPublicDirectory(directory) && !isStoragePermissionGranted(WRITE_STORAGE)) { - requestPermissionForAlias(WRITE_STORAGE, call); + if (!isPublicDirectory(directory) && !isStoragePermissionGranted()) { + requestAllPermissions(call); } else { try { boolean created = implementation.mkdir(path, directory, recursive); @@ -213,7 +212,7 @@ public void mkdir(PluginCall call) { } } - @PluginMethod(permissionCallback = "writePermissionsCallback") + @PluginMethod(permissionCallback = "permissionCallback") public void rmdir(PluginCall call) { String path = call.getString("path"); String directory = getDirectoryParameter(call); @@ -221,8 +220,8 @@ public void rmdir(PluginCall call) { File fileObject = implementation.getFileObject(path, directory); - if (!isPublicDirectory(directory) && !isStoragePermissionGranted(WRITE_STORAGE)) { - requestPermissionForAlias(WRITE_STORAGE, call); + if (!isPublicDirectory(directory) && !isStoragePermissionGranted()) { + requestAllPermissions(call); } else { if (!fileObject.exists()) { call.reject("Directory does not exist"); @@ -249,13 +248,13 @@ public void rmdir(PluginCall call) { } } - @PluginMethod(permissionCallback = "readPermissionsCallback") + @PluginMethod(permissionCallback = "permissionCallback") public void readdir(PluginCall call) { String path = call.getString("path"); String directory = getDirectoryParameter(call); - if (!isPublicDirectory(directory) && !isStoragePermissionGranted(READ_STORAGE)) { - requestPermissionForAlias(READ_STORAGE, call); + if (!isPublicDirectory(directory) && !isStoragePermissionGranted()) { + requestAllPermissions(call); } else { try { String[] files = implementation.readdir(path, directory); @@ -272,15 +271,15 @@ public void readdir(PluginCall call) { } } - @PluginMethod(permissionCallback = "readPermissionsCallback") + @PluginMethod(permissionCallback = "permissionCallback") public void getUri(PluginCall call) { String path = call.getString("path"); String directory = getDirectoryParameter(call); File fileObject = implementation.getFileObject(path, directory); - if (!isPublicDirectory(directory) && !isStoragePermissionGranted(READ_STORAGE)) { - requestPermissionForAlias(READ_STORAGE, call); + if (!isPublicDirectory(directory) && !isStoragePermissionGranted()) { + requestAllPermissions(call); } else { JSObject data = new JSObject(); data.put("uri", Uri.fromFile(fileObject).toString()); @@ -288,15 +287,15 @@ public void getUri(PluginCall call) { } } - @PluginMethod(permissionCallback = "readPermissionsCallback") + @PluginMethod(permissionCallback = "permissionCallback") public void stat(PluginCall call) { String path = call.getString("path"); String directory = getDirectoryParameter(call); File fileObject = implementation.getFileObject(path, directory); - if (!isPublicDirectory(directory) && !isStoragePermissionGranted(READ_STORAGE)) { - requestPermissionForAlias(READ_STORAGE, call); + if (!isPublicDirectory(directory) && !isStoragePermissionGranted()) { + requestAllPermissions(call); } else { if (!fileObject.exists()) { call.reject("File does not exist"); @@ -313,12 +312,12 @@ public void stat(PluginCall call) { } } - @PluginMethod(permissionCallback = "writePermissionsCallback") + @PluginMethod(permissionCallback = "permissionCallback") public void rename(PluginCall call) { this._copy(call, true); } - @PluginMethod(permissionCallback = "writePermissionsCallback") + @PluginMethod(permissionCallback = "permissionCallback") public void copy(PluginCall call) { this._copy(call, false); } @@ -334,8 +333,8 @@ private void _copy(PluginCall call, Boolean doRename) { return; } if (isPublicDirectory(directory) || isPublicDirectory(toDirectory)) { - if (!isStoragePermissionGranted(WRITE_STORAGE)) { - requestPermissionForAlias(WRITE_STORAGE, call); + if (!isStoragePermissionGranted()) { + requestAllPermissions(call); return; } } @@ -348,32 +347,9 @@ private void _copy(PluginCall call, Boolean doRename) { } } - private void readPermissionsCallback(PluginCall call) { - if (getPermissionState(READ_STORAGE) != PermissionState.GRANTED) { - Logger.debug(getLogTag(), "User denied read storage permission"); - call.reject(PERMISSION_DENIED_ERROR); - return; - } - - switch (call.getMethodName()) { - case "readFile": - readFile(call); - break; - case "readdir": - readdir(call); - break; - case "getUri": - getUri(call); - break; - case "stat": - stat(call); - break; - } - } - - private void writePermissionsCallback(PluginCall call) { - if (getPermissionState(WRITE_STORAGE) != PermissionState.GRANTED) { - Logger.debug(getLogTag(), "User denied write storage permission"); + private void permissionCallback(PluginCall call) { + if (!isStoragePermissionGranted()) { + Logger.debug(getLogTag(), "User denied storage permission"); call.reject(PERMISSION_DENIED_ERROR); return; } @@ -398,16 +374,27 @@ private void writePermissionsCallback(PluginCall call) { case "copy": copy(call); break; + case "readFile": + readFile(call); + break; + case "readdir": + readdir(call); + break; + case "getUri": + getUri(call); + break; + case "stat": + stat(call); + break; } } /** * Checks the the given permission is granted or not - * @param alias the permission alias "readStorage" or "writeStorage" * @return Returns true if the permission is granted and false if it is denied. */ - private boolean isStoragePermissionGranted(String alias) { - return getPermissionState(alias) == PermissionState.GRANTED; + private boolean isStoragePermissionGranted() { + return getPermissionState("publicStorage") == PermissionState.GRANTED; } /** From 0e9cd9ea28b6180da8a8837deb0a60b017f0b03b Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Thu, 21 Jan 2021 23:34:22 +0100 Subject: [PATCH 06/13] chore(push-notifications): Remove Firebase leftovers (#192) --- push-notifications/README.md | 4 +--- push-notifications/ios/Plugin.xcodeproj/project.pbxproj | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/push-notifications/README.md b/push-notifications/README.md index 8542fca51..42d88b4e6 100644 --- a/push-notifications/README.md +++ b/push-notifications/README.md @@ -13,9 +13,7 @@ npx cap sync On iOS you must enable the Push Notifications capability. See [Setting Capabilities](https://capacitorjs.com/docs/v3/ios/configuration#setting-capabilities) for instructions on how to enable the capability. -The Push Notification API uses [Firebase Cloud Messaging](https://firebase.google.com/docs/cloud-messaging) SDK for handling notifications. See [Set up a Firebase Cloud Messaging client app on iOS](https://firebase.google.com/docs/cloud-messaging/ios/client) and follow the instructions for creating a Firebase project and registering your application. Do not add the Firebase SDK to your app - the Push Notifications provides that for you. All that is required is your Firebase project `GoogleService-Info.plist` file added to your Xcode project. - -After setting up your Firebase project, add the following to your application AppDelegate.swift +After enabling the Push Notifications capability, add the following to your app's `AppDelegate.swift`: ```swift func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) { diff --git a/push-notifications/ios/Plugin.xcodeproj/project.pbxproj b/push-notifications/ios/Plugin.xcodeproj/project.pbxproj index 959c6f5c3..9c5c5d458 100644 --- a/push-notifications/ios/Plugin.xcodeproj/project.pbxproj +++ b/push-notifications/ios/Plugin.xcodeproj/project.pbxproj @@ -43,7 +43,6 @@ 91781294A431A2A7CC6EB714 /* Pods-Plugin.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Plugin.release.xcconfig"; path = "Pods/Target Support Files/Pods-Plugin/Pods-Plugin.release.xcconfig"; sourceTree = ""; }; 96ED1B6440D6672E406C8D19 /* Pods-PluginTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PluginTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.debug.xcconfig"; sourceTree = ""; }; CFA171D6258422F200F2DED2 /* PushNotificationsHandler.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PushNotificationsHandler.swift; sourceTree = ""; }; - CFDB66F62587D6E400732657 /* FirebaseMessaging.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = FirebaseMessaging.framework; sourceTree = BUILT_PRODUCTS_DIR; }; F65BB2953ECE002E1EF3E424 /* Pods-PluginTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PluginTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.release.xcconfig"; sourceTree = ""; }; F6753A823D3815DB436415E3 /* Pods_PluginTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PluginTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ @@ -125,7 +124,6 @@ A797B9EFA3DCEFEA1FBB66A9 /* Frameworks */ = { isa = PBXGroup; children = ( - CFDB66F62587D6E400732657 /* FirebaseMessaging.framework */, 50ADFFA52020D75100D50D53 /* Capacitor.framework */, 3B2A61DA5A1F2DD4F959604D /* Pods_Plugin.framework */, F6753A823D3815DB436415E3 /* Pods_PluginTests.framework */, From 1994997a100d7c57477305d933fb835cf9f7c9c8 Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Fri, 22 Jan 2021 23:39:29 +0100 Subject: [PATCH 07/13] fix(ios): do not show notifications when in foreground (#209) --- push-notifications/ios/Plugin/PushNotificationsHandler.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/push-notifications/ios/Plugin/PushNotificationsHandler.swift b/push-notifications/ios/Plugin/PushNotificationsHandler.swift index 372a426c6..f39e12607 100644 --- a/push-notifications/ios/Plugin/PushNotificationsHandler.swift +++ b/push-notifications/ios/Plugin/PushNotificationsHandler.swift @@ -49,7 +49,7 @@ public class PushNotificationsHandler: NSObject, NotificationHandlerProtocol { return presentationOptions } - return [.badge, .sound, .alert] + return [] } public func didReceive(response: UNNotificationResponse) { From f65c273df1485b284fb48ac79b2bc98655436b06 Mon Sep 17 00:00:00 2001 From: Daniel Imhoff Date: Fri, 22 Jan 2021 16:05:53 -0800 Subject: [PATCH 08/13] chore(bot): add assign-to-project task --- .github/bot.yml | 12 ++++++++++++ .github/workflows/bot.yml | 2 ++ 2 files changed, 14 insertions(+) diff --git a/.github/bot.yml b/.github/bot.yml index 35f278e9e..1403f5bde 100644 --- a/.github/bot.yml +++ b/.github/bot.yml @@ -16,3 +16,15 @@ tasks: on: issues: types: [opened, edited] + - name: assign-to-project + on: + issues: + types: [opened] + pull_request: + types: [opened] + condition: (await getTeamMembers('capacitor')).includes(payload.sender.login) + config: + columns: + issue: 10495656 + pr: 10495659 + draft-pr: 10495658 diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml index 752d46b59..17b843bca 100644 --- a/.github/workflows/bot.yml +++ b/.github/workflows/bot.yml @@ -3,6 +3,8 @@ name: Bot on: issues: types: [opened, edited] + pull_request: + types: [opened] issue_comment: types: [created] From b559e24b24174be60129217e87c0bff14bcdd573 Mon Sep 17 00:00:00 2001 From: Dan Imhoff Date: Mon, 25 Jan 2021 08:49:57 -0800 Subject: [PATCH 09/13] fix: support deprecated types from Capacitor 2 (#210) --- push-notifications/src/definitions.ts | 50 +++++++++++++++++++++++---- 1 file changed, 43 insertions(+), 7 deletions(-) diff --git a/push-notifications/src/definitions.ts b/push-notifications/src/definitions.ts index e88a367e3..c688378ec 100644 --- a/push-notifications/src/definitions.ts +++ b/push-notifications/src/definitions.ts @@ -43,7 +43,7 @@ export interface PushNotificationsPlugin { * * @since 1.0.0 */ - getDeliveredNotifications(): Promise; + getDeliveredNotifications(): Promise; /** * Remove the specified notifications from the notifications screen. @@ -51,7 +51,7 @@ export interface PushNotificationsPlugin { * @since 1.0.0 */ removeDeliveredNotifications( - delivered: PushNotificationDeliveredList, + delivered: DeliveredNotifications, ): Promise; /** @@ -111,7 +111,7 @@ export interface PushNotificationsPlugin { */ addListener( eventName: 'registration', - listenerFunc: (token: PushNotificationToken) => void, + listenerFunc: (token: Token) => void, ): PluginListenerHandle; /** @@ -143,7 +143,7 @@ export interface PushNotificationsPlugin { */ addListener( eventName: 'pushNotificationActionPerformed', - listenerFunc: (notification: PushNotificationActionPerformed) => void, + listenerFunc: (notification: ActionPerformed) => void, ): PluginListenerHandle; /** @@ -229,7 +229,7 @@ export interface PushNotificationSchema { groupSummary?: boolean; } -export interface PushNotificationActionPerformed { +export interface ActionPerformed { /** * @since 1.0.0 */ @@ -246,14 +246,14 @@ export interface PushNotificationActionPerformed { notification: PushNotificationSchema; } -export interface PushNotificationToken { +export interface Token { /** * @since 1.0.0 */ value: string; } -export interface PushNotificationDeliveredList { +export interface DeliveredNotifications { /** * @since 1.0.0 */ @@ -357,3 +357,39 @@ export interface PermissionStatus { */ receive: PermissionState; } + +/** + * @deprecated Use 'Channel`. + * @since 1.0.0 + */ +export type NotificationChannel = Channel; + +/** + * @deprecated Use `ListChannelsResult`. + * @since 1.0.0 + */ +export type NotificationChannelList = ListChannelsResult; + +/** + * @deprecated Use `PushNotificationSchema`. + * @since 1.0.0 + */ +export type PushNotification = PushNotificationSchema; + +/** + * @deprecated Use `ActionPerformed`. + * @since 1.0.0 + */ +export type PushNotificationActionPerformed = ActionPerformed; + +/** + * @deprecated Use `DeliveredNotifications`. + * @since 1.0.0 + */ +export type PushNotificationDeliveredList = DeliveredNotifications; + +/** + * @deprecated Use `Token`. + * @since 1.0.0 + */ +export type PushNotificationToken = Token; From 58f05c75c0dbf2eef521df7ff1ba680bf9b45303 Mon Sep 17 00:00:00 2001 From: Daniel Imhoff Date: Mon, 25 Jan 2021 08:58:21 -0800 Subject: [PATCH 10/13] chore: regen docs --- push-notifications/README.md | 38 ++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/push-notifications/README.md b/push-notifications/README.md index 42d88b4e6..727c50b6a 100644 --- a/push-notifications/README.md +++ b/push-notifications/README.md @@ -110,12 +110,12 @@ notification permissions, use `requestPermissions()` first. ### getDeliveredNotifications() ```typescript -getDeliveredNotifications() => Promise +getDeliveredNotifications() => Promise ``` Get a list of notifications that are visible on the notifications screen. -**Returns:** Promise<PushNotificationDeliveredList> +**Returns:** Promise<DeliveredNotifications> **Since:** 1.0.0 @@ -125,14 +125,14 @@ Get a list of notifications that are visible on the notifications screen. ### removeDeliveredNotifications(...) ```typescript -removeDeliveredNotifications(delivered: PushNotificationDeliveredList) => Promise +removeDeliveredNotifications(delivered: DeliveredNotifications) => Promise ``` Remove the specified notifications from the notifications screen. -| Param | Type | -| --------------- | --------------------------------------------------------------------------------------- | -| **`delivered`** | PushNotificationDeliveredList | +| Param | Type | +| --------------- | ------------------------------------------------------------------------- | +| **`delivered`** | DeliveredNotifications | **Since:** 1.0.0 @@ -240,17 +240,17 @@ Request permission to receive push notifications. ### addListener('registration', ...) ```typescript -addListener(eventName: 'registration', listenerFunc: (token: PushNotificationToken) => void) => PluginListenerHandle +addListener(eventName: 'registration', listenerFunc: (token: Token) => void) => PluginListenerHandle ``` Called when the push notification registration finishes without problems. Provides the push notification token. -| Param | Type | -| ------------------ | ------------------------------------------------------------------------------------------- | -| **`eventName`** | 'registration' | -| **`listenerFunc`** | (token: PushNotificationToken) => void | +| Param | Type | +| ------------------ | ----------------------------------------------------------- | +| **`eventName`** | 'registration' | +| **`listenerFunc`** | (token: Token) => void | **Returns:** PluginListenerHandle @@ -304,15 +304,15 @@ Called when the device receives a push notification. ### addListener('pushNotificationActionPerformed', ...) ```typescript -addListener(eventName: 'pushNotificationActionPerformed', listenerFunc: (notification: PushNotificationActionPerformed) => void) => PluginListenerHandle +addListener(eventName: 'pushNotificationActionPerformed', listenerFunc: (notification: ActionPerformed) => void) => PluginListenerHandle ``` Called when an action is performed on a push notification. -| Param | Type | -| ------------------ | ---------------------------------------------------------------------------------------------------------------------- | -| **`eventName`** | 'pushNotificationActionPerformed' | -| **`listenerFunc`** | (notification: PushNotificationActionPerformed) => void | +| Param | Type | +| ------------------ | -------------------------------------------------------------------------------------- | +| **`eventName`** | 'pushNotificationActionPerformed' | +| **`listenerFunc`** | (notification: ActionPerformed) => void | **Returns:** PluginListenerHandle @@ -337,7 +337,7 @@ Remove all native listeners for this plugin. ### Interfaces -#### PushNotificationDeliveredList +#### DeliveredNotifications | Prop | Type | Since | | ------------------- | ------------------------------------- | ----- | @@ -397,14 +397,14 @@ Remove all native listeners for this plugin. | **`remove`** | () => void | -#### PushNotificationToken +#### Token | Prop | Type | Since | | ----------- | ------------------- | ----- | | **`value`** | string | 1.0.0 | -#### PushNotificationActionPerformed +#### ActionPerformed | Prop | Type | Since | | ------------------ | ------------------------------------------------------------------------- | ----- | From 26500a0473714e4d31b7c2c1f8da90db1e1f6cdf Mon Sep 17 00:00:00 2001 From: Dan Imhoff Date: Mon, 25 Jan 2021 12:00:29 -0800 Subject: [PATCH 11/13] docs: document plugin variables (#204) --- action-sheet/README.md | 6 ++++++ browser/README.md | 8 ++++++++ camera/README.md | 11 +++++++++-- geolocation/README.md | 10 ++++++++-- push-notifications/README.md | 6 ++++++ 5 files changed, 37 insertions(+), 4 deletions(-) diff --git a/action-sheet/README.md b/action-sheet/README.md index e8711a6b9..05777f761 100644 --- a/action-sheet/README.md +++ b/action-sheet/README.md @@ -9,6 +9,12 @@ npm install @capacitor/action-sheet npx cap sync ``` +### Variables + +This plugin will use the following project variables (defined in your app's `variables.gradle` file): + +- `$androidxMaterialVersion`: version of `com.google.android.material:material` (default: `1.3.0-rc01`) + ## Example ```typescript diff --git a/browser/README.md b/browser/README.md index 0d75061df..b6bc074fc 100644 --- a/browser/README.md +++ b/browser/README.md @@ -11,6 +11,14 @@ npm install @capacitor/browser npx cap sync ``` +## Android + +### Variables + +This plugin will use the following project variables (defined in your app's `variables.gradle` file): + +- `$androidxBrowserVersion`: version of `androidx.browser:browser` (default: `1.3.0`) + ## Example ```typescript diff --git a/camera/README.md b/camera/README.md index b9aa39774..f38fa68d2 100644 --- a/camera/README.md +++ b/camera/README.md @@ -9,7 +9,7 @@ npm install @capacitor/camera npx cap sync ``` -## iOS Notes +## iOS iOS requires the following usage description be added and filled out for your app in `Info.plist`: @@ -19,7 +19,7 @@ iOS requires the following usage description be added and filled out for your ap Read about [Configuring `Info.plist`](https://capacitorjs.com/docs/ios/configuration#configuring-infoplist) in the [iOS Guide](https://capacitorjs.com/docs/ios) for more information on setting iOS permissions in Xcode -## Android Notes +## Android This API requires the following permissions be added to your `AndroidManifest.xml`: @@ -34,6 +34,13 @@ Read about [Setting Permissions](https://capacitorjs.com/docs/android/configurat Additionally, because the Camera API launches a separate Activity to handle taking the photo, you should listen for `appRestoredResult` in the `App` plugin to handle any camera data that was sent in the case your app was terminated by the operating system while the Activity was running. +### Variables + +This plugin will use the following project variables (defined in your app's `variables.gradle` file): + +- `$androidxExifInterfaceVersion`: version of `androidx.exifinterface:exifinterface` (default: `1.3.2`) +- `$androidxMaterialVersion`: version of `com.google.android.material:material` (default: `1.3.0-rc01`) + ## PWA Notes [PWA Elements](https://capacitorjs.com/docs/web/pwa-elements) are required for Camera plugin to work. diff --git a/geolocation/README.md b/geolocation/README.md index 12d6de7c5..fd299f30c 100644 --- a/geolocation/README.md +++ b/geolocation/README.md @@ -9,7 +9,7 @@ npm install @capacitor/geolocation npx cap sync ``` -## iOS Notes +## iOS Apple requires privacy descriptions to be specified in `Info.plist` for location information: @@ -18,7 +18,7 @@ Apple requires privacy descriptions to be specified in `Info.plist` for location Read about [Configuring `Info.plist`](https://capacitorjs.com/docs/ios/configuration#configuring-infoplist) in the [iOS Guide](https://capacitorjs.com/docs/ios) for more information on setting iOS permissions in Xcode -## Android Notes +## Android This API requires the following permissions be added to your `AndroidManifest.xml`: @@ -33,6 +33,12 @@ The first two permissions ask for location data, both fine and coarse, and the l Read about [Setting Permissions](https://capacitorjs.com/docs/android/configuration#setting-permissions) in the [Android Guide](https://capacitorjs.com/docs/android) for more information on setting Android permissions. +### Variables + +This plugin will use the following project variables (defined in your app's `variables.gradle` file): + +- `$playServicesLocationVersion` version of `com.google.android.gms:play-services-location` (default: `17.1.0`) + ## Example ```typescript diff --git a/push-notifications/README.md b/push-notifications/README.md index 727c50b6a..bf82056f6 100644 --- a/push-notifications/README.md +++ b/push-notifications/README.md @@ -29,6 +29,12 @@ func application(_ application: UIApplication, didFailToRegisterForRemoteNotific The Push Notification API uses [Firebase Cloud Messaging](https://firebase.google.com/docs/cloud-messaging) SDK for handling notifications. See [Set up a Firebase Cloud Messaging client app on Android](https://firebase.google.com/docs/cloud-messaging/android/client) and follow the instructions for creating a Firebase project and registering your application. There is no need to add the Firebase SDK to your app or edit your app manifest - the Push Notifications provides that for you. All that is required is your Firebase project's `google-services.json` file added to the module (app-level) directory of your app. +### Variables + +This plugin will use the following project variables (defined in your app's `variables.gradle` file): + +- `$firebaseMessagingVersion` version of `com.google.firebase:firebase-messaging` (default: `21.0.1`) + --- ## Push Notifications icon From 008fe9e9bf6a960b0ab7b6fc4d5014f10ba13df8 Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Tue, 26 Jan 2021 19:38:39 +0100 Subject: [PATCH 12/13] fix: Use the event names from Capacitor 2 (#215) --- local-notifications/README.md | 16 ++++++++-------- .../LocalNotificationsPlugin.java | 2 +- .../ios/Plugin/LocalNotificationsHandler.swift | 4 ++-- local-notifications/src/definitions.ts | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/local-notifications/README.md b/local-notifications/README.md index b9256806c..c45739244 100644 --- a/local-notifications/README.md +++ b/local-notifications/README.md @@ -23,8 +23,8 @@ npx cap sync * [`listChannels()`](#listchannels) * [`checkPermissions()`](#checkpermissions) * [`requestPermissions()`](#requestpermissions) -* [`addListener('received', ...)`](#addlistenerreceived-) -* [`addListener('actionPerformed', ...)`](#addlisteneractionperformed-) +* [`addListener('localNotificationReceived', ...)`](#addlistenerlocalnotificationreceived-) +* [`addListener('localNotificationActionPerformed', ...)`](#addlistenerlocalnotificationactionperformed-) * [`removeAllListeners()`](#removealllisteners) * [Interfaces](#interfaces) * [Type Aliases](#type-aliases) @@ -204,17 +204,17 @@ Request permission to display local notifications. -------------------- -### addListener('received', ...) +### addListener('localNotificationReceived', ...) ```typescript -addListener(eventName: 'received', listenerFunc: (notification: LocalNotificationSchema) => void) => PluginListenerHandle +addListener(eventName: 'localNotificationReceived', listenerFunc: (notification: LocalNotificationSchema) => void) => PluginListenerHandle ``` Listen for when notifications are displayed. | Param | Type | | ------------------ | ------------------------------------------------------------------------------------------------------ | -| **`eventName`** | 'received' | +| **`eventName`** | 'localNotificationReceived' | | **`listenerFunc`** | (notification: LocalNotificationSchema) => void | **Returns:** PluginListenerHandle @@ -224,17 +224,17 @@ Listen for when notifications are displayed. -------------------- -### addListener('actionPerformed', ...) +### addListener('localNotificationActionPerformed', ...) ```typescript -addListener(eventName: 'actionPerformed', listenerFunc: (notificationAction: ActionPerformed) => void) => PluginListenerHandle +addListener(eventName: 'localNotificationActionPerformed', listenerFunc: (notificationAction: ActionPerformed) => void) => PluginListenerHandle ``` Listen for when an action is performed on a notification. | Param | Type | | ------------------ | -------------------------------------------------------------------------------------------- | -| **`eventName`** | 'actionPerformed' | +| **`eventName`** | 'localNotificationActionPerformed' | | **`listenerFunc`** | (notificationAction: ActionPerformed) => void | **Returns:** PluginListenerHandle diff --git a/local-notifications/android/src/main/java/com/capacitorjs/plugins/localnotifications/LocalNotificationsPlugin.java b/local-notifications/android/src/main/java/com/capacitorjs/plugins/localnotifications/LocalNotificationsPlugin.java index 2983c99bc..8936c5d93 100644 --- a/local-notifications/android/src/main/java/com/capacitorjs/plugins/localnotifications/LocalNotificationsPlugin.java +++ b/local-notifications/android/src/main/java/com/capacitorjs/plugins/localnotifications/LocalNotificationsPlugin.java @@ -36,7 +36,7 @@ protected void handleOnNewIntent(Intent data) { } JSObject dataJson = manager.handleNotificationActionPerformed(data, notificationStorage); if (dataJson != null) { - notifyListeners("actionPerformed", dataJson, true); + notifyListeners("localNotificationActionPerformed", dataJson, true); } } diff --git a/local-notifications/ios/Plugin/LocalNotificationsHandler.swift b/local-notifications/ios/Plugin/LocalNotificationsHandler.swift index 427a5d5bf..dd42743f4 100644 --- a/local-notifications/ios/Plugin/LocalNotificationsHandler.swift +++ b/local-notifications/ios/Plugin/LocalNotificationsHandler.swift @@ -26,7 +26,7 @@ public class LocalNotificationsHandler: NSObject, NotificationHandlerProtocol { public func willPresent(notification: UNNotification) -> UNNotificationPresentationOptions { let notificationData = makeNotificationRequestJSObject(notification.request) - self.plugin?.notifyListeners("received", data: notificationData) + self.plugin?.notifyListeners("localNotificationReceived", data: notificationData) if let options = notificationRequestLookup[notification.request.identifier] { let silent = options["silent"] as? Bool ?? false @@ -66,7 +66,7 @@ public class LocalNotificationsHandler: NSObject, NotificationHandlerProtocol { data["notification"] = makeNotificationRequestJSObject(originalNotificationRequest) - self.plugin?.notifyListeners("actionPerformed", data: data, retainUntilConsumed: true) + self.plugin?.notifyListeners("localNotificationActionPerformed", data: data, retainUntilConsumed: true) } /** diff --git a/local-notifications/src/definitions.ts b/local-notifications/src/definitions.ts index 606a488ce..3f9fe329f 100644 --- a/local-notifications/src/definitions.ts +++ b/local-notifications/src/definitions.ts @@ -129,7 +129,7 @@ export interface LocalNotificationsPlugin { * @since 1.0.0 */ addListener( - eventName: 'received', + eventName: 'localNotificationReceived', listenerFunc: (notification: LocalNotificationSchema) => void, ): PluginListenerHandle; @@ -139,7 +139,7 @@ export interface LocalNotificationsPlugin { * @since 1.0.0 */ addListener( - eventName: 'actionPerformed', + eventName: 'localNotificationActionPerformed', listenerFunc: (notificationAction: ActionPerformed) => void, ): PluginListenerHandle; From 9c7056ff622b1619c0c0d1c59a09b47d20d5739f Mon Sep 17 00:00:00 2001 From: Daniel Imhoff Date: Tue, 26 Jan 2021 11:08:10 -0800 Subject: [PATCH 13/13] chore(release): publish [skip ci] - @capacitor/action-sheet@0.4.1 - @capacitor/app@0.3.1 - @capacitor/app-launcher@0.5.1 - @capacitor/browser@0.4.1 - @capacitor/camera@0.3.1 - @capacitor/clipboard@0.4.1 - @capacitor/device@0.5.1 - @capacitor/dialog@0.4.1 - @capacitor/filesystem@0.3.1 - @capacitor/geolocation@0.3.1 - @capacitor/haptics@0.3.1 - @capacitor/keyboard@0.5.1 - @capacitor/local-notifications@0.2.1 - @capacitor/network@0.4.1 - @capacitor/push-notifications@0.3.1 - @capacitor/screen-reader@0.3.1 - @capacitor/share@0.4.1 - @capacitor/splash-screen@0.3.1 - @capacitor/status-bar@0.4.1 - @capacitor/storage@0.3.1 - @capacitor/text-zoom@0.3.1 - @capacitor/toast@0.4.1 --- action-sheet/CHANGELOG.md | 8 ++++++++ action-sheet/package.json | 2 +- app-launcher/CHANGELOG.md | 8 ++++++++ app-launcher/package.json | 2 +- app/CHANGELOG.md | 8 ++++++++ app/package.json | 2 +- browser/CHANGELOG.md | 8 ++++++++ browser/package.json | 2 +- camera/CHANGELOG.md | 8 ++++++++ camera/package.json | 2 +- clipboard/CHANGELOG.md | 8 ++++++++ clipboard/package.json | 2 +- device/CHANGELOG.md | 8 ++++++++ device/package.json | 2 +- dialog/CHANGELOG.md | 8 ++++++++ dialog/package.json | 2 +- filesystem/CHANGELOG.md | 11 +++++++++++ filesystem/package.json | 2 +- geolocation/CHANGELOG.md | 8 ++++++++ geolocation/package.json | 2 +- haptics/CHANGELOG.md | 8 ++++++++ haptics/package.json | 2 +- keyboard/CHANGELOG.md | 8 ++++++++ keyboard/package.json | 2 +- local-notifications/CHANGELOG.md | 11 +++++++++++ local-notifications/package.json | 2 +- network/CHANGELOG.md | 8 ++++++++ network/package.json | 2 +- push-notifications/CHANGELOG.md | 12 ++++++++++++ push-notifications/package.json | 2 +- screen-reader/CHANGELOG.md | 8 ++++++++ screen-reader/package.json | 2 +- share/CHANGELOG.md | 8 ++++++++ share/package.json | 2 +- splash-screen/CHANGELOG.md | 8 ++++++++ splash-screen/package.json | 2 +- status-bar/CHANGELOG.md | 8 ++++++++ status-bar/package.json | 2 +- storage/CHANGELOG.md | 8 ++++++++ storage/package.json | 2 +- text-zoom/CHANGELOG.md | 8 ++++++++ text-zoom/package.json | 2 +- toast/CHANGELOG.md | 8 ++++++++ toast/package.json | 2 +- 44 files changed, 208 insertions(+), 22 deletions(-) diff --git a/action-sheet/CHANGELOG.md b/action-sheet/CHANGELOG.md index 0d2a31b98..397f48070 100644 --- a/action-sheet/CHANGELOG.md +++ b/action-sheet/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/action-sheet@0.4.0...@capacitor/action-sheet@0.4.1) (2021-01-26) + +**Note:** Version bump only for package @capacitor/action-sheet + + + + + # [0.4.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/action-sheet@0.3.0...@capacitor/action-sheet@0.4.0) (2021-01-14) **Note:** Version bump only for package @capacitor/action-sheet diff --git a/action-sheet/package.json b/action-sheet/package.json index e2a2a5284..33746d165 100644 --- a/action-sheet/package.json +++ b/action-sheet/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor/action-sheet", - "version": "0.4.0", + "version": "0.4.1", "description": "The Action Sheet API provides access to native Action Sheets, which come up from the bottom of the screen and display actions a user can take.", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/app-launcher/CHANGELOG.md b/app-launcher/CHANGELOG.md index d90cf47f1..a26111c1b 100644 --- a/app-launcher/CHANGELOG.md +++ b/app-launcher/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/app-launcher@0.5.0...@capacitor/app-launcher@0.5.1) (2021-01-26) + +**Note:** Version bump only for package @capacitor/app-launcher + + + + + # [0.5.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/app-launcher@0.4.0...@capacitor/app-launcher@0.5.0) (2021-01-14) **Note:** Version bump only for package @capacitor/app-launcher diff --git a/app-launcher/package.json b/app-launcher/package.json index b88bcedf2..6f170635b 100644 --- a/app-launcher/package.json +++ b/app-launcher/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor/app-launcher", - "version": "0.5.0", + "version": "0.5.1", "description": "The AppLauncher API allows to open other apps", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/app/CHANGELOG.md b/app/CHANGELOG.md index 73f7695fc..07afd8951 100644 --- a/app/CHANGELOG.md +++ b/app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.3.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/app@0.3.0...@capacitor/app@0.3.1) (2021-01-26) + +**Note:** Version bump only for package @capacitor/app + + + + + # [0.3.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/app@0.2.0...@capacitor/app@0.3.0) (2021-01-14) **Note:** Version bump only for package @capacitor/app diff --git a/app/package.json b/app/package.json index efbdb064d..09f047ff9 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor/app", - "version": "0.3.0", + "version": "0.3.1", "description": "The App API handles high level App state and events.For example, this API emits events when the app enters and leaves the foreground, handles deeplinks, opens other apps, and manages persisted plugin state.", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/browser/CHANGELOG.md b/browser/CHANGELOG.md index 007177c8c..58e5de961 100644 --- a/browser/CHANGELOG.md +++ b/browser/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/browser@0.4.0...@capacitor/browser@0.4.1) (2021-01-26) + +**Note:** Version bump only for package @capacitor/browser + + + + + # [0.4.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/browser@0.3.0...@capacitor/browser@0.4.0) (2021-01-14) **Note:** Version bump only for package @capacitor/browser diff --git a/browser/package.json b/browser/package.json index 589e28b34..ba09a1415 100644 --- a/browser/package.json +++ b/browser/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor/browser", - "version": "0.4.0", + "version": "0.4.1", "description": "The Browser API provides the ability to open an in-app browser and subscribe to browser events.", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/camera/CHANGELOG.md b/camera/CHANGELOG.md index e189e28c7..bf28794fa 100644 --- a/camera/CHANGELOG.md +++ b/camera/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.3.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/camera@0.3.0...@capacitor/camera@0.3.1) (2021-01-26) + +**Note:** Version bump only for package @capacitor/camera + + + + + # [0.3.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/camera@0.2.0...@capacitor/camera@0.3.0) (2021-01-14) **Note:** Version bump only for package @capacitor/camera diff --git a/camera/package.json b/camera/package.json index d51aa8323..7100b715b 100644 --- a/camera/package.json +++ b/camera/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor/camera", - "version": "0.3.0", + "version": "0.3.1", "description": "The Camera API provides the ability to take a photo with the camera or choose an existing one from the photo album.", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/clipboard/CHANGELOG.md b/clipboard/CHANGELOG.md index 28a363059..7c155a206 100644 --- a/clipboard/CHANGELOG.md +++ b/clipboard/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/clipboard@0.4.0...@capacitor/clipboard@0.4.1) (2021-01-26) + +**Note:** Version bump only for package @capacitor/clipboard + + + + + # [0.4.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/clipboard@0.3.0...@capacitor/clipboard@0.4.0) (2021-01-14) **Note:** Version bump only for package @capacitor/clipboard diff --git a/clipboard/package.json b/clipboard/package.json index bbfcdc79a..f5004fe18 100644 --- a/clipboard/package.json +++ b/clipboard/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor/clipboard", - "version": "0.4.0", + "version": "0.4.1", "description": "The Clipboard API enables copy and pasting to/from the system clipboard.", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/device/CHANGELOG.md b/device/CHANGELOG.md index 6ba0d3c57..cf7386d3e 100644 --- a/device/CHANGELOG.md +++ b/device/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/device@0.5.0...@capacitor/device@0.5.1) (2021-01-26) + +**Note:** Version bump only for package @capacitor/device + + + + + # [0.5.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/device@0.4.0...@capacitor/device@0.5.0) (2021-01-14) **Note:** Version bump only for package @capacitor/device diff --git a/device/package.json b/device/package.json index a7302048a..6b95f25b8 100644 --- a/device/package.json +++ b/device/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor/device", - "version": "0.5.0", + "version": "0.5.1", "description": "The Device API exposes internal information about the device, such as the model and operating system version, along with user information such as unique ids.", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/dialog/CHANGELOG.md b/dialog/CHANGELOG.md index 69faa1385..ead7f81cd 100644 --- a/dialog/CHANGELOG.md +++ b/dialog/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/dialog@0.4.0...@capacitor/dialog@0.4.1) (2021-01-26) + +**Note:** Version bump only for package @capacitor/dialog + + + + + # [0.4.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/dialog@0.3.0...@capacitor/dialog@0.4.0) (2021-01-14) **Note:** Version bump only for package @capacitor/dialog diff --git a/dialog/package.json b/dialog/package.json index e429689e7..f701a85eb 100644 --- a/dialog/package.json +++ b/dialog/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor/dialog", - "version": "0.4.0", + "version": "0.4.1", "description": "The Dialog API provides methods for triggering native dialog windows for alerts, confirmations, and input prompts", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/filesystem/CHANGELOG.md b/filesystem/CHANGELOG.md index 9eb4e4ea0..6f29d6b2d 100644 --- a/filesystem/CHANGELOG.md +++ b/filesystem/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.3.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/filesystem@0.3.0...@capacitor/filesystem@0.3.1) (2021-01-26) + + +### Bug Fixes + +* **android:** permissions use "publicStorage" as alias ([#202](https://github.com/ionic-team/capacitor-plugins/issues/202)) ([2dfc7a3](https://github.com/ionic-team/capacitor-plugins/commit/2dfc7a3261a4f98871a86fe6d47fab084a2d1deb)) + + + + + # [0.3.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/filesystem@0.2.0...@capacitor/filesystem@0.3.0) (2021-01-14) **Note:** Version bump only for package @capacitor/filesystem diff --git a/filesystem/package.json b/filesystem/package.json index 7c2186fdc..8209131aa 100644 --- a/filesystem/package.json +++ b/filesystem/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor/filesystem", - "version": "0.3.0", + "version": "0.3.1", "description": "The Filesystem API provides a NodeJS-like API for working with files on the device.", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/geolocation/CHANGELOG.md b/geolocation/CHANGELOG.md index 8ef383252..dfb88790b 100644 --- a/geolocation/CHANGELOG.md +++ b/geolocation/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.3.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/geolocation@0.3.0...@capacitor/geolocation@0.3.1) (2021-01-26) + +**Note:** Version bump only for package @capacitor/geolocation + + + + + # [0.3.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/geolocation@0.2.0...@capacitor/geolocation@0.3.0) (2021-01-14) **Note:** Version bump only for package @capacitor/geolocation diff --git a/geolocation/package.json b/geolocation/package.json index 3b257dd24..d6a1151da 100644 --- a/geolocation/package.json +++ b/geolocation/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor/geolocation", - "version": "0.3.0", + "version": "0.3.1", "description": "The Geolocation API provides simple methods for getting and tracking the current position of the device using GPS, along with altitude, heading, and speed information if available.", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/haptics/CHANGELOG.md b/haptics/CHANGELOG.md index 85a8eab5c..1ddd12b12 100644 --- a/haptics/CHANGELOG.md +++ b/haptics/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.3.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/haptics@0.3.0...@capacitor/haptics@0.3.1) (2021-01-26) + +**Note:** Version bump only for package @capacitor/haptics + + + + + # [0.3.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/haptics@0.2.0...@capacitor/haptics@0.3.0) (2021-01-14) **Note:** Version bump only for package @capacitor/haptics diff --git a/haptics/package.json b/haptics/package.json index d314fe0d1..6e3b2c8bf 100644 --- a/haptics/package.json +++ b/haptics/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor/haptics", - "version": "0.3.0", + "version": "0.3.1", "description": "The Haptics API provides physical feedback to the user through touch or vibration.", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/keyboard/CHANGELOG.md b/keyboard/CHANGELOG.md index 9e59cc36a..fd2ac65fb 100644 --- a/keyboard/CHANGELOG.md +++ b/keyboard/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/keyboard@0.5.0...@capacitor/keyboard@0.5.1) (2021-01-26) + +**Note:** Version bump only for package @capacitor/keyboard + + + + + # [0.5.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/keyboard@0.4.0...@capacitor/keyboard@0.5.0) (2021-01-14) **Note:** Version bump only for package @capacitor/keyboard diff --git a/keyboard/package.json b/keyboard/package.json index 84fac873a..c5fcf68b8 100644 --- a/keyboard/package.json +++ b/keyboard/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor/keyboard", - "version": "0.5.0", + "version": "0.5.1", "description": "The Keyboard API provides keyboard display and visibility control, along with event tracking when the keyboard shows and hides.", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/local-notifications/CHANGELOG.md b/local-notifications/CHANGELOG.md index 95aad991d..fc3b9aefd 100644 --- a/local-notifications/CHANGELOG.md +++ b/local-notifications/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/local-notifications@0.2.0...@capacitor/local-notifications@0.2.1) (2021-01-26) + + +### Bug Fixes + +* Use the event names from Capacitor 2 ([#215](https://github.com/ionic-team/capacitor-plugins/issues/215)) ([008fe9e](https://github.com/ionic-team/capacitor-plugins/commit/008fe9e9bf6a960b0ab7b6fc4d5014f10ba13df8)) + + + + + # [0.2.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/local-notifications@0.1.0...@capacitor/local-notifications@0.2.0) (2021-01-14) **Note:** Version bump only for package @capacitor/local-notifications diff --git a/local-notifications/package.json b/local-notifications/package.json index 6e1b0d4d2..5bd3b547e 100644 --- a/local-notifications/package.json +++ b/local-notifications/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor/local-notifications", - "version": "0.2.0", + "version": "0.2.1", "description": "The Local Notifications API provides a way to schedule device notifications locally (i.e. without a server sending push notifications).", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/network/CHANGELOG.md b/network/CHANGELOG.md index aea99ef5f..b5b70958a 100644 --- a/network/CHANGELOG.md +++ b/network/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/network@0.4.0...@capacitor/network@0.4.1) (2021-01-26) + +**Note:** Version bump only for package @capacitor/network + + + + + # [0.4.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/network@0.3.0...@capacitor/network@0.4.0) (2021-01-14) **Note:** Version bump only for package @capacitor/network diff --git a/network/package.json b/network/package.json index 9ce7eb7a4..4b6f54956 100644 --- a/network/package.json +++ b/network/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor/network", - "version": "0.4.0", + "version": "0.4.1", "description": "The Network API provides network and connectivity information.", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/push-notifications/CHANGELOG.md b/push-notifications/CHANGELOG.md index 662635cd5..bd90eb13b 100644 --- a/push-notifications/CHANGELOG.md +++ b/push-notifications/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.3.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/push-notifications@0.3.0...@capacitor/push-notifications@0.3.1) (2021-01-26) + + +### Bug Fixes + +* support deprecated types from Capacitor 2 ([#210](https://github.com/ionic-team/capacitor-plugins/issues/210)) ([b559e24](https://github.com/ionic-team/capacitor-plugins/commit/b559e24b24174be60129217e87c0bff14bcdd573)) +* **ios:** do not show notifications when in foreground ([#209](https://github.com/ionic-team/capacitor-plugins/issues/209)) ([1994997](https://github.com/ionic-team/capacitor-plugins/commit/1994997a100d7c57477305d933fb835cf9f7c9c8)) + + + + + # [0.3.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/push-notifications@0.2.0...@capacitor/push-notifications@0.3.0) (2021-01-14) **Note:** Version bump only for package @capacitor/push-notifications diff --git a/push-notifications/package.json b/push-notifications/package.json index 02b6518ec..990c0fa71 100644 --- a/push-notifications/package.json +++ b/push-notifications/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor/push-notifications", - "version": "0.3.0", + "version": "0.3.1", "description": "The Push Notifications API provides access to native push notifications.", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/screen-reader/CHANGELOG.md b/screen-reader/CHANGELOG.md index 80da385c4..3fdb30638 100644 --- a/screen-reader/CHANGELOG.md +++ b/screen-reader/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.3.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/screen-reader@0.3.0...@capacitor/screen-reader@0.3.1) (2021-01-26) + +**Note:** Version bump only for package @capacitor/screen-reader + + + + + # [0.3.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/screen-reader@0.2.0...@capacitor/screen-reader@0.3.0) (2021-01-14) **Note:** Version bump only for package @capacitor/screen-reader diff --git a/screen-reader/package.json b/screen-reader/package.json index de853ad41..f845c1772 100644 --- a/screen-reader/package.json +++ b/screen-reader/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor/screen-reader", - "version": "0.3.0", + "version": "0.3.1", "description": "The Screen Reader API provides access to TalkBack/VoiceOver/etc. and provides simple text-to-speech capabilities for visual accessibility.", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/share/CHANGELOG.md b/share/CHANGELOG.md index 1ef07b486..e8492fc4a 100644 --- a/share/CHANGELOG.md +++ b/share/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/share@0.4.0...@capacitor/share@0.4.1) (2021-01-26) + +**Note:** Version bump only for package @capacitor/share + + + + + # [0.4.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/share@0.3.0...@capacitor/share@0.4.0) (2021-01-14) **Note:** Version bump only for package @capacitor/share diff --git a/share/package.json b/share/package.json index 749af87d1..d1c601581 100644 --- a/share/package.json +++ b/share/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor/share", - "version": "0.4.0", + "version": "0.4.1", "description": "The Share API provides methods for sharing content in any sharing-enabled apps the user may have installed.", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/splash-screen/CHANGELOG.md b/splash-screen/CHANGELOG.md index 75313d7cd..295756dfc 100644 --- a/splash-screen/CHANGELOG.md +++ b/splash-screen/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.3.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/splash-screen@0.3.0...@capacitor/splash-screen@0.3.1) (2021-01-26) + +**Note:** Version bump only for package @capacitor/splash-screen + + + + + # [0.3.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/splash-screen@0.2.0...@capacitor/splash-screen@0.3.0) (2021-01-14) **Note:** Version bump only for package @capacitor/splash-screen diff --git a/splash-screen/package.json b/splash-screen/package.json index 813cf5239..1dca075e5 100644 --- a/splash-screen/package.json +++ b/splash-screen/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor/splash-screen", - "version": "0.3.0", + "version": "0.3.1", "description": "The Splash Screen API provides methods for showing or hiding a Splash image.", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/status-bar/CHANGELOG.md b/status-bar/CHANGELOG.md index 8a874f7d1..1d9c021d9 100644 --- a/status-bar/CHANGELOG.md +++ b/status-bar/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/status-bar@0.4.0...@capacitor/status-bar@0.4.1) (2021-01-26) + +**Note:** Version bump only for package @capacitor/status-bar + + + + + # [0.4.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/status-bar@0.3.0...@capacitor/status-bar@0.4.0) (2021-01-14) **Note:** Version bump only for package @capacitor/status-bar diff --git a/status-bar/package.json b/status-bar/package.json index d04967ce1..6745492c9 100644 --- a/status-bar/package.json +++ b/status-bar/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor/status-bar", - "version": "0.4.0", + "version": "0.4.1", "description": "The StatusBar API Provides methods for configuring the style of the Status Bar, along with showing or hiding it.", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/storage/CHANGELOG.md b/storage/CHANGELOG.md index c32ace13d..658913bc0 100644 --- a/storage/CHANGELOG.md +++ b/storage/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.3.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/storage@0.3.0...@capacitor/storage@0.3.1) (2021-01-26) + +**Note:** Version bump only for package @capacitor/storage + + + + + # [0.3.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/storage@0.2.0...@capacitor/storage@0.3.0) (2021-01-14) **Note:** Version bump only for package @capacitor/storage diff --git a/storage/package.json b/storage/package.json index 78f866830..1bafbd7bd 100644 --- a/storage/package.json +++ b/storage/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor/storage", - "version": "0.3.0", + "version": "0.3.1", "description": "The Storage API provides a simple key/value persistent store for lightweight data.", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/text-zoom/CHANGELOG.md b/text-zoom/CHANGELOG.md index f69e4fded..72c810ca7 100644 --- a/text-zoom/CHANGELOG.md +++ b/text-zoom/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.3.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/text-zoom@0.3.0...@capacitor/text-zoom@0.3.1) (2021-01-26) + +**Note:** Version bump only for package @capacitor/text-zoom + + + + + # [0.3.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/text-zoom@0.2.0...@capacitor/text-zoom@0.3.0) (2021-01-14) **Note:** Version bump only for package @capacitor/text-zoom diff --git a/text-zoom/package.json b/text-zoom/package.json index 3006c6808..a7f7ec22a 100644 --- a/text-zoom/package.json +++ b/text-zoom/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor/text-zoom", - "version": "0.3.0", + "version": "0.3.1", "description": "The Text Zoom API provides the ability to change Web View text size for visual accessibility.", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/toast/CHANGELOG.md b/toast/CHANGELOG.md index dc629985c..64d5f1a3e 100644 --- a/toast/CHANGELOG.md +++ b/toast/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/toast@0.4.0...@capacitor/toast@0.4.1) (2021-01-26) + +**Note:** Version bump only for package @capacitor/toast + + + + + # [0.4.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/toast@0.3.0...@capacitor/toast@0.4.0) (2021-01-14) **Note:** Version bump only for package @capacitor/toast diff --git a/toast/package.json b/toast/package.json index 277e6ee6b..ed54674be 100644 --- a/toast/package.json +++ b/toast/package.json @@ -1,6 +1,6 @@ { "name": "@capacitor/toast", - "version": "0.4.0", + "version": "0.4.1", "description": "The Toast API provides a notification pop up for displaying important information to a user. Just like real toast!", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js",