Skip to content

Commit

Permalink
chore(android): publish plugin updates (#592)
Browse files Browse the repository at this point in the history
* docs(browser): Add clarifications to browser events (#560)

* feat(storage): make StorageConfiguration init public (#532)

* fix(filesystem): allow copy if from is not parent of to (#546)


Co-authored-by: jcesarmobile <jcesarmobile@gmail.com>

* fix(camera): cleanup camera images if not needed (#563)

* fix(camera): return original image if editing is cancelled (#566)

* fix(camera): return original image if editing is cancelled

* fix(camera): Fix allowEdit: true when picking from photos

* fix(camera): Resize not respecting aspect ratio on iOS (#568)

* chore: adding stuff to deploy plugins to cocoapods

* chore: adding npm install to script

* chore: updating source to point to proper tag

* chore: turning lerna concurrency to 1 for cocoapod builds

* chore(android): native library publishing task to test (#575)

* fix(local-notifications): Throw errors if missing mandatory channel fields (#577)

* fix(push-notifications): Throw errors if missing mandatory channel fields (#576)

* chore: adding manual task to deploy plugins to cocoapods

* docs(notifications): Add links to explain the Android importance and visibility values (#584)

* chore: Correct sources path in podspec (#586)

* chore: fixing action sheet podspec

* feat(geolocation): Throw error if location is disabled (#589)

* fix: Correct missing source_files path (#590)

* chore: adding full path to podspecs for cocoapods deploy (#591)

* chore(release): publish [skip ci]

 - @capacitor/action-sheet@1.0.3
 - @capacitor/app@1.0.3
 - @capacitor/app-launcher@1.0.4
 - @capacitor/browser@1.0.3
 - @capacitor/camera@1.0.5
 - @capacitor/clipboard@1.0.3
 - @capacitor/device@1.0.3
 - @capacitor/dialog@1.0.3
 - @capacitor/filesystem@1.0.3
 - @capacitor/geolocation@1.1.0
 - @capacitor/haptics@1.0.3
 - @capacitor/keyboard@1.0.3
 - @capacitor/local-notifications@1.0.5
 - @capacitor/network@1.0.3
 - @capacitor/push-notifications@1.0.4
 - @capacitor/screen-reader@1.0.3
 - @capacitor/share@1.0.4
 - @capacitor/splash-screen@1.1.2
 - @capacitor/status-bar@1.0.3
 - @capacitor/storage@1.1.0
 - @capacitor/text-zoom@1.0.3
 - @capacitor/toast@1.0.3

Co-authored-by: jcesarmobile <jcesarmobile@gmail.com>
Co-authored-by: fadoscha <fabian.schaffner@gmail.com>
Co-authored-by: Tachibana Shin <45375496+tachibana-shin@users.noreply.github.com>
Co-authored-by: Max Lynch <max@drifty.com>
Co-authored-by: Ely Lucas <ely@meta-tek.net>
  • Loading branch information
6 people committed Sep 1, 2021
1 parent eef0bec commit cac55f8
Show file tree
Hide file tree
Showing 81 changed files with 583 additions and 178 deletions.
39 changes: 39 additions & 0 deletions .github/cocoapods-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@

# This workflow is a WIP to get the plugins to deploy to cocoapods
# Its put on hold as it's currently failing during the pod trunk push command
# See the docs on how to run during manual deployment

# name: Cocoapods Deploy

# on:
# workflow_dispatch:

# jobs:
# deploy-cocoapods:
# runs-on: macos-latest
# timeout-minutes: 30
# steps:
# - uses: actions/setup-node@v1
# with:
# node-version: 14.x
# - uses: actions/checkout@v2
# with:
# fetch-depth: 0
# - name: Install Cocoapods
# run: |
# gem install cocoapods
# - name: Restore Dependency Cache
# id: cache-modules
# uses: actions/cache@v2
# with:
# path: |
# node_modules
# */node_modules
# key: dependency-cache-${{ hashFiles('package.json', '*/package.json') }}
# - run: npm install
# - name: Deploy to Cocoapods
# run: |
# set -eo pipefail
# npm run publish:cocoapod
# env:
# COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
8 changes: 8 additions & 0 deletions action-sheet/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

## [1.0.3](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/action-sheet@1.0.2...@capacitor/action-sheet@1.0.3) (2021-09-01)

**Note:** Version bump only for package @capacitor/action-sheet





## [1.0.2](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/action-sheet@1.0.1...@capacitor/action-sheet@1.0.2) (2021-06-23)

**Note:** Version bump only for package @capacitor/action-sheet
Expand Down
6 changes: 3 additions & 3 deletions action-sheet/CapacitorActionSheet.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ Pod::Spec.new do |s|
s.version = package['version']
s.summary = package['description']
s.license = package['license']
s.homepage = package['repository']['url']
s.homepage = 'https://capacitorjs.com'
s.author = package['author']
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.source = { :git => 'https://github.com/ionic-team/capacitor-plugins.git', :tag => package['name'] + '@' + package['version'] }
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}', 'action-sheet/ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '12.0'
s.dependency 'Capacitor'
s.swift_version = '5.1'
Expand Down
6 changes: 4 additions & 2 deletions action-sheet/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@capacitor/action-sheet",
"version": "1.0.2",
"version": "1.0.3",
"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",
Expand Down Expand Up @@ -41,7 +41,9 @@
"build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.js",
"clean": "rimraf ./dist",
"watch": "tsc --watch",
"prepublishOnly": "npm run build"
"prepublishOnly": "npm run build",
"postpublish": "npm run publish:cocoapod",
"publish:cocoapod": "pod trunk push ./CapacitorActionSheet.podspec --allow-warnings"
},
"devDependencies": {
"@capacitor/android": "^3.0.0",
Expand Down
8 changes: 8 additions & 0 deletions app-launcher/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

## [1.0.4](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/app-launcher@1.0.3...@capacitor/app-launcher@1.0.4) (2021-09-01)

**Note:** Version bump only for package @capacitor/app-launcher





## [1.0.3](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/app-launcher@1.0.2...@capacitor/app-launcher@1.0.3) (2021-08-18)

**Note:** Version bump only for package @capacitor/app-launcher
Expand Down
6 changes: 3 additions & 3 deletions app-launcher/CapacitorAppLauncher.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ Pod::Spec.new do |s|
s.version = package['version']
s.summary = package['description']
s.license = package['license']
s.homepage = package['repository']['url']
s.homepage = 'https://capacitorjs.com'
s.author = package['author']
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.source = { :git => 'https://github.com/ionic-team/capacitor-plugins.git', :tag => package['name'] + '@' + package['version'] }
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}', 'app-launcher/ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '12.0'
s.dependency 'Capacitor'
s.swift_version = '5.1'
Expand Down
6 changes: 4 additions & 2 deletions app-launcher/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@capacitor/app-launcher",
"version": "1.0.3",
"version": "1.0.4",
"description": "The AppLauncher API allows to open other apps",
"main": "dist/plugin.cjs.js",
"module": "dist/esm/index.js",
Expand Down Expand Up @@ -41,7 +41,9 @@
"build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.js",
"clean": "rimraf ./dist",
"watch": "tsc --watch",
"prepublishOnly": "npm run build"
"prepublishOnly": "npm run build",
"postpublish": "npm run publish:cocoapod",
"publish:cocoapod": "pod trunk push ./CapacitorAppLauncher.podspec --allow-warnings"
},
"devDependencies": {
"@capacitor/android": "^3.0.0",
Expand Down
8 changes: 8 additions & 0 deletions app/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

## [1.0.3](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/app@1.0.2...@capacitor/app@1.0.3) (2021-09-01)

**Note:** Version bump only for package @capacitor/app





## [1.0.2](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/app@1.0.1...@capacitor/app@1.0.2) (2021-06-23)


Expand Down
6 changes: 3 additions & 3 deletions app/CapacitorApp.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ Pod::Spec.new do |s|
s.version = package['version']
s.summary = package['description']
s.license = package['license']
s.homepage = package['repository']['url']
s.homepage = 'https://capacitorjs.com'
s.author = package['author']
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.source = { :git => 'https://github.com/ionic-team/capacitor-plugins.git', :tag => package['name'] + '@' + package['version'] }
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}', 'app/ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '12.0'
s.dependency 'Capacitor'
s.swift_version = '5.1'
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@capacitor/app",
"version": "1.0.2",
"version": "1.0.3",
"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",
Expand Down
11 changes: 11 additions & 0 deletions browser/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

## [1.0.3](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/browser@1.0.2...@capacitor/browser@1.0.3) (2021-09-01)


### Bug Fixes

* Correct missing source_files path ([#590](https://github.com/ionic-team/capacitor-plugins/issues/590)) ([24e0fc2](https://github.com/ionic-team/capacitor-plugins/commit/24e0fc27cc314049012ab9915fa5e7bfb03313e1))





## [1.0.2](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/browser@1.0.1...@capacitor/browser@1.0.2) (2021-06-23)


Expand Down
6 changes: 3 additions & 3 deletions browser/CapacitorBrowser.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ Pod::Spec.new do |s|
s.version = package['version']
s.summary = package['description']
s.license = package['license']
s.homepage = package['repository']['url']
s.homepage = 'https://capacitorjs.com'
s.author = package['author']
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.source = { :git => 'https://github.com/ionic-team/capacitor-plugins.git', :tag => package['name'] + '@' + package['version'] }
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}', 'browser/ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '12.0'
s.dependency 'Capacitor'
s.swift_version = '5.1'
Expand Down
5 changes: 4 additions & 1 deletion browser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ No-op on other platforms.
addListener(eventName: 'browserFinished', listenerFunc: () => void) => Promise<PluginListenerHandle> & PluginListenerHandle
```

Android & iOS only: Listen for the loading finished event.
Android & iOS only: Listen for the browser finished event.
It fires when the Browser is closed by the user.

| Param | Type |
| ------------------ | ------------------------------ |
Expand All @@ -104,6 +105,8 @@ addListener(eventName: 'browserPageLoaded', listenerFunc: () => void) => Promise
```

Android & iOS only: Listen for the page loaded event.
It's only fired when the URL passed to open method finish loading.
It is not invoked for any subsequent page loads.

| Param | Type |
| ------------------ | -------------------------------- |
Expand Down
6 changes: 4 additions & 2 deletions browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@capacitor/browser",
"version": "1.0.2",
"version": "1.0.3",
"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",
Expand Down Expand Up @@ -41,7 +41,9 @@
"build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.js",
"clean": "rimraf ./dist",
"watch": "tsc --watch",
"prepublishOnly": "npm run build"
"prepublishOnly": "npm run build",
"postpublish": "npm run publish:cocoapod",
"publish:cocoapod": "pod trunk push ./CapacitorBrowser.podspec --allow-warnings"
},
"devDependencies": {
"@capacitor/android": "^3.0.0",
Expand Down
5 changes: 4 additions & 1 deletion browser/src/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ export interface BrowserPlugin {
close(): Promise<void>;

/**
* Android & iOS only: Listen for the loading finished event.
* Android & iOS only: Listen for the browser finished event.
* It fires when the Browser is closed by the user.
*
* @since 1.0.0
*/
Expand All @@ -29,6 +30,8 @@ export interface BrowserPlugin {

/**
* Android & iOS only: Listen for the page loaded event.
* It's only fired when the URL passed to open method finish loading.
* It is not invoked for any subsequent page loads.
*
* @since 1.0.0
*/
Expand Down
14 changes: 14 additions & 0 deletions camera/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.5](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/camera@1.0.4...@capacitor/camera@1.0.5) (2021-09-01)


### Bug Fixes

* Correct missing source_files path ([#590](https://github.com/ionic-team/capacitor-plugins/issues/590)) ([24e0fc2](https://github.com/ionic-team/capacitor-plugins/commit/24e0fc27cc314049012ab9915fa5e7bfb03313e1))
* **camera:** cleanup camera images if not needed ([#563](https://github.com/ionic-team/capacitor-plugins/issues/563)) ([a2e4f43](https://github.com/ionic-team/capacitor-plugins/commit/a2e4f4339119698e8dd066a5f2f8f065ab2e4727))
* **camera:** Resize not respecting aspect ratio on iOS ([#568](https://github.com/ionic-team/capacitor-plugins/issues/568)) ([ea2b801](https://github.com/ionic-team/capacitor-plugins/commit/ea2b8012aab7e5ea34cfa34735f7f55ba76a3882))
* **camera:** return original image if editing is cancelled ([#566](https://github.com/ionic-team/capacitor-plugins/issues/566)) ([4786841](https://github.com/ionic-team/capacitor-plugins/commit/4786841099403a4d3d59aaf9103e8fa02aa8e4e2))





## [1.0.4](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/camera@1.0.3...@capacitor/camera@1.0.4) (2021-08-18)


Expand Down
6 changes: 3 additions & 3 deletions camera/CapacitorCamera.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ Pod::Spec.new do |s|
s.version = package['version']
s.summary = package['description']
s.license = package['license']
s.homepage = package['repository']['url']
s.homepage = 'https://capacitorjs.com'
s.author = package['author']
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.source = { :git => 'https://github.com/ionic-team/capacitor-plugins.git', :tag => package['name'] + '@' + package['version'] }
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}', 'camera/ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '12.0'
s.dependency 'Capacitor'
s.swift_version = '5.1'
Expand Down
Loading

0 comments on commit cac55f8

Please sign in to comment.