Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix: use lowercase 'a' in podspec name #260

Merged
merged 1 commit into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CapacitorCommunityGenericOAuth2.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

Pod::Spec.new do |s|
s.name = 'CapacitorCommunityGenericOAuth2'
s.name = 'CapacitorCommunityGenericOauth2'
s.version = package['version']
s.summary = package['description']
s.license = package['license']
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ These parameters are overrideable in every platform

| parameter | default | required | description | since |
|-------------------- |--------- |---------- |------------------------------------------------------------------------------------------------ |------- |
| customHandlerClass | | | Provide a class name implementing `CapacitorCommunityGenericOAuth2.OAuth2CustomHandler` | |
| customHandlerClass | | | Provide a class name implementing `CapacitorCommunityGenericOauth2.OAuth2CustomHandler` | |
| siwaUseScope | | | SiWA default scope is `name email` if you want to use the configured one set this param `true` | 2.1.0 |


Expand Down Expand Up @@ -416,7 +416,7 @@ This plugin should be as generic as possible, so I don't want to include provide

Therefore, I created a mechanism which let developers integrate custom SDK features in this plugin.
Simply configure the class name in the option property `ios.customHandlerClass`.
This class has to implement `CapacitorCommunityGenericOAuth2.OAuth2CustomHandler`.
This class has to implement `CapacitorCommunityGenericOauth2.OAuth2CustomHandler`.

See a full working example below!

Expand Down Expand Up @@ -1018,7 +1018,7 @@ install! 'cocoapods', :disable_input_output_paths => true
def capacitor_pods
pod 'Capacitor', :path => '../../node_modules/@capacitor/ios'
pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios'
pod 'CapacitorCommunityGenericOAuth2', :path => '../../node_modules/@capacitor-community/generic-oauth2'
pod 'CapacitorCommunityGenericOauth2', :path => '../../node_modules/@capacitor-community/generic-oauth2'
# core plugins
pod 'CapacitorApp', :path => '../../node_modules/@capacitor/app'
pod 'CapacitorDevice', :path => '../../node_modules/@capacitor/device'
Expand Down Expand Up @@ -1067,7 +1067,7 @@ import Foundation
import FacebookCore
import FacebookLogin
import Capacitor
import CapacitorCommunityGenericOAuth2
import CapacitorCommunityGenericOauth2

@objc class YourIOsFacebookOAuth2Handler: NSObject, OAuth2CustomHandler {

Expand Down
Loading