Skip to content

Commit

Permalink
[flutter_appauth] reverts changes done for Swift Package Manager supp…
Browse files Browse the repository at this point in the history
…ort (#580)

* Revert "[flutter_appauth] added Swift Package Manager support (#578)"

This reverts commit 71c14cb.

* bumped plugin to 8.0.3 to release without incomplete SPM support

* pinned compileSdkVersion of Android app to 34
  • Loading branch information
MaikuB authored Dec 12, 2024
1 parent 71c14cb commit 5baff43
Show file tree
Hide file tree
Showing 31 changed files with 24 additions and 74 deletions.
6 changes: 6 additions & 0 deletions flutter_appauth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [8.0.3]

* [iOS][macOS] reverted change on attempt to add Swift Package Manager as there were issues found. 8.0.2 has now been considered retracted on pub.dev as a result
* Pinned compileSdkVersion of Android example app to 34 to continue support the current AGP versions until plugin and example app are updated


## [8.0.2]

* [iOS][macOS] bumped AppAuth iOS dependency to 1.7.6
Expand Down
2 changes: 1 addition & 1 deletion flutter_appauth/example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if (flutterVersionName == null) {

android {
namespace "io.crossingthestreams.flutter_appauth_example"
compileSdkVersion flutter.compileSdkVersion
compileSdkVersion 34
ndkVersion flutter.ndkVersion

compileOptions {
Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "./include/flutter_appauth/AppAuthIOSAuthorization.h"
#import "AppAuthIOSAuthorization.h"

@implementation AppAuthIOSAuthorization

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "./include/flutter_appauth/FlutterAppAuth.h"
#import "FlutterAppAuth.h"

@implementation FlutterAppAuth

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#import <TargetConditionals.h>

#import "./include/flutter_appauth/FlutterAppauthPlugin.h"
#import "FlutterAppauthPlugin.h"

@interface ArgumentProcessor : NSObject
+ (id _Nullable)processArgumentValue:(NSDictionary *)arguments
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
13 or newer to avoid cookies being shared across the device.
*/

#import "./include/flutter_appauth/OIDExternalUserAgentIOSNoSSO.h"
#import "OIDExternalUserAgentIOSNoSSO.h"

#import <AuthenticationServices/AuthenticationServices.h>
#import <SafariServices/SafariServices.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
limitations under the License.
*/

#import "./include/flutter_appauth/OIDExternalUserAgentIOSSafariViewController.h"
#import "OIDExternalUserAgentIOSSafariViewController.h"

#import <SafariServices/SafariServices.h>

Expand Down
6 changes: 3 additions & 3 deletions flutter_appauth/ios/flutter_appauth.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ A new flutter plugin project.
s.license = { :file => '../LICENSE' }
s.author = { 'Your Company' => '[email protected]' }
s.source = { :path => '.' }
s.source_files = 'flutter_appauth/Sources/flutter_appauth/**/*.{h,m}'
s.public_header_files = 'flutter_appauth/Sources/flutter_appauth/include/**/*.h'
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'
s.dependency 'AppAuth', '1.7.6'
s.ios.deployment_target = '11.0'
s.resource_bundles = {'flutter_appauth_privacy' => ['flutter_appauth/Sources/flutter_appauth/PrivacyInfo.xcprivacy']}
s.resource_bundles = {'flutter_appauth_privacy' => ['Resources/PrivacyInfo.xcprivacy']}
end

27 changes: 0 additions & 27 deletions flutter_appauth/ios/flutter_appauth/Packages.swift

This file was deleted.

Empty file.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "./include/flutter_appauth/AppAuthMacOSAuthorization.h"
#import "AppAuthMacOSAuthorization.h"

@implementation AppAuthMacOSAuthorization

Expand Down
1 change: 1 addition & 0 deletions flutter_appauth/macos/Classes/FlutterAppAuth.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "./include/flutter_appauth/FlutterAppAuth.h"
#import "FlutterAppAuth.h"

@implementation FlutterAppAuth

Expand Down
1 change: 1 addition & 0 deletions flutter_appauth/macos/Classes/FlutterAppauthPlugin.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#import <TargetConditionals.h>

#import "./include/flutter_appauth/FlutterAppauthPlugin.h"
#import "FlutterAppauthPlugin.h"

@interface ArgumentProcessor : NSObject
+ (id _Nullable)processArgumentValue:(NSDictionary *)arguments
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
limitations under the License.
*/

#import "./include/flutter_appauth/OIDExternalUserAgentMacNoSSO.h"
#import "OIDExternalUserAgentMacNoSSO.h"

#import <AuthenticationServices/AuthenticationServices.h>
#import <Cocoa/Cocoa.h>
Expand Down
5 changes: 2 additions & 3 deletions flutter_appauth/macos/flutter_appauth.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ A new flutter plugin project.
s.license = { :file => '../LICENSE' }
s.author = { 'Your Company' => '[email protected]' }
s.source = { :path => '.' }
s.source_files = 'flutter_appauth/Sources/flutter_appauth/**/*.{h,m}'
s.public_header_files = 'flutter_appauth/Sources/flutter_appauth/include/**/*.h'
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'
s.dependency 'FlutterMacOS'
s.dependency 'AppAuth', '1.7.6'
s.platform = :osx, '10.14'
s.osx.deployment_target = "10.14"
s.resource_bundles = {'flutter_appauth_privacy' => ['flutter_appauth/Sources/flutter_appauth/PrivacyInfo.xcprivacy']}
end

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion flutter_appauth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: flutter_appauth
description: This plugin provides an abstraction around the Android and iOS
AppAuth SDKs so it can be used to communicate with OAuth 2.0 and OpenID
Connect providers
version: 8.0.2
version: 8.0.3
homepage: https://github.com/MaikuB/flutter_appauth/tree/master/flutter_appauth

environment:
Expand Down

0 comments on commit 5baff43

Please sign in to comment.