Skip to content

Commit

Permalink
Support Capacitor 3 (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Oberwasserlechner authored Jul 5, 2021
1 parent ca8d546 commit 421c8bc
Show file tree
Hide file tree
Showing 18 changed files with 2,313 additions and 3,536 deletions.
31 changes: 15 additions & 16 deletions ByteowlsCapacitorOauth2.podspec
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
require 'json'

Pod::Spec.new do |s|
# NPM package specification
package = JSON.parse(File.read(File.join(File.dirname(__FILE__), 'package.json')))
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

s.name = 'ByteowlsCapacitorOauth2'
s.version = package['version']
s.summary = package['description']
s.license = package['license']
s.homepage = package['homepage']
s.author = package['author']
s.ios.deployment_target = '11.0'
s.dependency 'Capacitor'
s.dependency 'OAuthSwift', '2.1.0'
s.source = { :git => 'https://github.com/moberwasserlechner/capacitor-oauth2', :tag => s.version.to_s }
s.source_files = 'ios/ByteowlsCapacitorOauth2/Source/*.{swift,h,m}'
s.swift_version = '5.0'
end
Pod::Spec.new do |s|
s.name = 'ByteowlsCapacitorOauth2'
s.version = package['version']
s.summary = package['description']
s.license = package['license']
s.homepage = package['repository']['url']
s.author = package['author']
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
s.source_files = 'ios/ByteowlsCapacitorOauth2/Source/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '12.0'
s.dependency 'Capacitor'
s.dependency 'OAuthSwift', '2.2.0'
s.swift_version = '5.1'
end
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,29 @@

## [Unreleased]

## [3.0.0] - 2021-07-04

### Breaking
* Minimum Capacitor version is **3.0.0** [#138](https://github.com/moberwasserlechner/capacitor-oauth2/issues/138) [#140](https://github.com/moberwasserlechner/capacitor-oauth2/pull/140)

### Added
* Web: Add a new option `windowReplace` that defaults to undefined. Used in `window.open()` 4th param.
This will fix https://bugs.chromium.org/p/chromium/issues/detail?id=1164959 [#153](https://github.com/moberwasserlechner/capacitor-oauth2/issues/153)
* Add "authorization_response" and "access_token_response" to "resource response" [#154](https://github.com/moberwasserlechner/capacitor-oauth2/issues/154)
* Web ... done
* Android
* iOS

### Changed
* Use `window.crypto` if available to generate random strings [#138](https://github.com/moberwasserlechner/capacitor-oauth2/issues/138) [#140](https://github.com/moberwasserlechner/capacitor-oauth2/pull/140)

### Fixed
* Web: # in URL causes parser to ignore ? [#132](https://github.com/moberwasserlechner/capacitor-oauth2/issues/132) [#133](https://github.com/moberwasserlechner/capacitor-oauth2/pull/133)

## [2.1.1] - 2021-02-21

### Fixed


## [2.1.0] - 2020-08-27

Expand Down
Loading

0 comments on commit 421c8bc

Please sign in to comment.