6.0.0
What's Changed
- feat!: upgrade to Capacitor v6 by @tafelnl in #255
- style: prettify a few files by @tafelnl in #256
- feat!: rename to
@capacitor-community/generic-oauth2
and re-init plugin by @tafelnl in #257 - feat: run
npm run verify:ios
by @tafelnl in #258 - style: run
npm run fmt
by @tafelnl in #259 - fix: use lowercase 'a' in podspec name by @tafelnl in #260
- style: prettify readme by @tafelnl in #261
- feat: update readme by @tafelnl in #262
New Contributors
Full Changelog: 5.0.0...6.0.0
Breaking changes
Important
This package moved from @byteowls/capacitor-oauth2
(by @moberwasserlechner) to @capacitor-community/generic-oauth2
.
Previous users of the package @byteowls/capacitor-oauth2
are required to migrate to @capacitor-community/generic-oauth2
in order to receive continued support and updates.
Migration guide
1. Uninstall old package and install new package
npm uninstall @byteowls/capacitor-oauth2
npm install @capacitor-community/generic-oauth2
npx cap sync
2. Update imports and references in your web code
-import { OAuth2Client } from '@byteowls/capacitor-oauth2';
+import { GenericOAuth2 } from '@capacitor-community/generic-oauth2';
-OAuth2Client.authenticate();
+GenericOAuth2.authenticate();
Note
In case you implemented a Custom OAuth Handler, you need to follow step 3 and 4 as well
3. Update imports and references in your Android code
-import com.byteowls.capacitor.oauth2.handler.AccessTokenCallback;
-import com.byteowls.capacitor.oauth2.handler.OAuth2CustomHandler;
+import com.getcapacitor.community.genericoauth2.handler.AccessTokenCallback;
+import com.getcapacitor.community.genericoauth2.handler.OAuth2CustomHandler;
4. Update imports and references in your iOS code
-import ByteowlsCapacitorOauth2
+import CapacitorCommunityGenericOauth2