Skip to content

Commit

Permalink
chore(native_authentication): Bump dependencies (#33)
Browse files Browse the repository at this point in the history
- Updates `ffigen`, `jnigen`, and `objective_c` to latest versions
  • Loading branch information
dnys1 authored Sep 7, 2024
1 parent c70b70c commit 7ee0347
Show file tree
Hide file tree
Showing 13 changed files with 26,413 additions and 25,341 deletions.
4 changes: 2 additions & 2 deletions packages/native/authentication/example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
native_authentication: 94d8748e8d138b3b492036fc9b36c223906a5306
objective_c: aedd8e7e00e2d8940f8ff085155bb7727fa88e93
native_authentication: 694c13e929d3623caaa1183461d4ed1e1b14e6e7
objective_c: 77e887b5ba1827970907e10e832eec1683f3431d

PODFILE CHECKSUM: ade96bceabe3919b69c16573938e4268fe3a6c9d

Expand Down
4 changes: 2 additions & 2 deletions packages/native/authentication/example/macos/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24
native_authentication: 8304d578f838dad68192fa10e5e5e9847a5123aa
objective_c: c13d3306e0fbf006bad001fd523e4bf8ebda8953
native_authentication: cf7783d5074db2e2e3babf81b12e14da700f0bcd
objective_c: e5f8194456e8fc943e034d1af00510a1bc29c067

PODFILE CHECKSUM: 9ebaf0ce3d369aaa26a9ea0e159195ed94724cf3

Expand Down
Original file line number Diff line number Diff line change
@@ -1,98 +1,84 @@
#include <stdint.h>

#import <UIKit/UIKit.h>
#import <UIKit/UIApplication.h>
#import <UIKit/UIDevice.h>
#import <AuthenticationServices/ASFoundation.h>
#import <AuthenticationServices/ASWebAuthenticationSession.h>
#import <AuthenticationServices/ASWebAuthenticationSessionCallback.h>

#if !__has_feature(objc_arc)
#error "This file must be compiled with ARC enabled"
#endif

id objc_retain(id);
id objc_retainBlock(id);

typedef void (^ListenerBlock)(NSTimer* );
ListenerBlock wrapListenerBlock_ObjCBlock_ffiVoid_NSTimer(ListenerBlock block) {
ListenerBlock wrapper = [^void(NSTimer* arg0) {
block([arg0 retain]);
} copy];
[block release];
return wrapper;
ListenerBlock wrapListenerBlock_ObjCBlock_ffiVoid_NSTimer(ListenerBlock block) NS_RETURNS_RETAINED {
return ^void(NSTimer* arg0) {
block(objc_retain(arg0));
};
}

typedef void (^ListenerBlock1)(UIImage* );
ListenerBlock1 wrapListenerBlock_ObjCBlock_ffiVoid_UIImage(ListenerBlock1 block) {
ListenerBlock1 wrapper = [^void(UIImage* arg0) {
block([arg0 retain]);
} copy];
[block release];
return wrapper;
ListenerBlock1 wrapListenerBlock_ObjCBlock_ffiVoid_UIImage(ListenerBlock1 block) NS_RETURNS_RETAINED {
return ^void(UIImage* arg0) {
block(objc_retain(arg0));
};
}

typedef void (^ListenerBlock2)(id );
ListenerBlock2 wrapListenerBlock_ObjCBlock_ffiVoid_objcObjCObject(ListenerBlock2 block) {
ListenerBlock2 wrapper = [^void(id arg0) {
block([arg0 retain]);
} copy];
[block release];
return wrapper;
ListenerBlock2 wrapListenerBlock_ObjCBlock_ffiVoid_objcObjCObject(ListenerBlock2 block) NS_RETURNS_RETAINED {
return ^void(id arg0) {
block(objc_retain(arg0));
};
}

typedef void (^ListenerBlock3)(NSError* );
ListenerBlock3 wrapListenerBlock_ObjCBlock_ffiVoid_NSError(ListenerBlock3 block) {
ListenerBlock3 wrapper = [^void(NSError* arg0) {
block([arg0 retain]);
} copy];
[block release];
return wrapper;
ListenerBlock3 wrapListenerBlock_ObjCBlock_ffiVoid_NSError(ListenerBlock3 block) NS_RETURNS_RETAINED {
return ^void(NSError* arg0) {
block(objc_retain(arg0));
};
}

typedef void (^ListenerBlock4)(UIAction* );
ListenerBlock4 wrapListenerBlock_ObjCBlock_ffiVoid_UIAction(ListenerBlock4 block) {
ListenerBlock4 wrapper = [^void(UIAction* arg0) {
block([arg0 retain]);
} copy];
[block release];
return wrapper;
ListenerBlock4 wrapListenerBlock_ObjCBlock_ffiVoid_UIAction(ListenerBlock4 block) NS_RETURNS_RETAINED {
return ^void(UIAction* arg0) {
block(objc_retain(arg0));
};
}

typedef void (^ListenerBlock5)(UIAction* , id , void * , UIControlEvents , BOOL * );
ListenerBlock5 wrapListenerBlock_ObjCBlock_ffiVoid_UIAction_objcObjCObject_objcObjCSelector_UIControlEvents_bool(ListenerBlock5 block) {
ListenerBlock5 wrapper = [^void(UIAction* arg0, id arg1, void * arg2, UIControlEvents arg3, BOOL * arg4) {
block([arg0 retain], [arg1 retain], arg2, arg3, arg4);
} copy];
[block release];
return wrapper;
ListenerBlock5 wrapListenerBlock_ObjCBlock_ffiVoid_UIAction_objcObjCObject_objcObjCSelector_UIControlEvents_bool(ListenerBlock5 block) NS_RETURNS_RETAINED {
return ^void(UIAction* arg0, id arg1, void * arg2, UIControlEvents arg3, BOOL * arg4) {
block(objc_retain(arg0), objc_retain(arg1), arg2, arg3, arg4);
};
}

typedef void (^ListenerBlock6)(NSInputStream* , NSOutputStream* , NSError* );
ListenerBlock6 wrapListenerBlock_ObjCBlock_ffiVoid_NSInputStream_NSOutputStream_NSError(ListenerBlock6 block) {
ListenerBlock6 wrapper = [^void(NSInputStream* arg0, NSOutputStream* arg1, NSError* arg2) {
block([arg0 retain], [arg1 retain], [arg2 retain]);
} copy];
[block release];
return wrapper;
ListenerBlock6 wrapListenerBlock_ObjCBlock_ffiVoid_NSInputStream_NSOutputStream_NSError(ListenerBlock6 block) NS_RETURNS_RETAINED {
return ^void(NSInputStream* arg0, NSOutputStream* arg1, NSError* arg2) {
block(objc_retain(arg0), objc_retain(arg1), objc_retain(arg2));
};
}

typedef void (^ListenerBlock7)(NSDate* , BOOL , BOOL * );
ListenerBlock7 wrapListenerBlock_ObjCBlock_ffiVoid_NSDate_bool_bool(ListenerBlock7 block) {
ListenerBlock7 wrapper = [^void(NSDate* arg0, BOOL arg1, BOOL * arg2) {
block([arg0 retain], arg1, arg2);
} copy];
[block release];
return wrapper;
ListenerBlock7 wrapListenerBlock_ObjCBlock_ffiVoid_NSDate_bool_bool(ListenerBlock7 block) NS_RETURNS_RETAINED {
return ^void(NSDate* arg0, BOOL arg1, BOOL * arg2) {
block(objc_retain(arg0), arg1, arg2);
};
}

typedef void (^ListenerBlock8)(NSError* );
ListenerBlock8 wrapListenerBlock_ObjCBlock_ffiVoid_NSError1(ListenerBlock8 block) {
ListenerBlock8 wrapper = [^void(NSError* arg0) {
block([arg0 retain]);
} copy];
[block release];
return wrapper;
ListenerBlock8 wrapListenerBlock_ObjCBlock_ffiVoid_NSError1(ListenerBlock8 block) NS_RETURNS_RETAINED {
return ^void(NSError* arg0) {
block(objc_retain(arg0));
};
}

typedef void (^ListenerBlock9)(NSURL* , NSError* );
ListenerBlock9 wrapListenerBlock_ObjCBlock_ffiVoid_NSURL_NSError(ListenerBlock9 block) {
ListenerBlock9 wrapper = [^void(NSURL* arg0, NSError* arg1) {
block([arg0 retain], [arg1 retain]);
} copy];
[block release];
return wrapper;
ListenerBlock9 wrapListenerBlock_ObjCBlock_ffiVoid_NSURL_NSError(ListenerBlock9 block) NS_RETURNS_RETAINED {
return ^void(NSURL* arg0, NSError* arg1) {
block(objc_retain(arg0), objc_retain(arg1));
};
}
11 changes: 6 additions & 5 deletions packages/native/authentication/ios/native_authentication.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ Wraps ASWebAuthenticationSession for iOS.
s.license = { :file => '../LICENSE' }
s.author = { 'Celest' => 'contact@celest.dev' }

s.platform = :ios, '13.0'
s.swift_version = '5.0'
s.dependency 'Flutter'
s.swift_version = '5.0'
s.platform = :ios, '13.0'
s.dependency 'Flutter'

s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.compiler_flags = ['-fno-objc-arc']
s.source_files = 'Classes/**/*'
s.requires_arc = true
s.frameworks = 'AuthenticationServices', 'UIKit'

s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
end
1 change: 1 addition & 0 deletions packages/native/authentication/jnigen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ classes:
- android.net.Uri
- android.os.Bundle
- android.os.CancellationSignal
- io.flutter.embedding.android.FlutterActivity
Loading

0 comments on commit 7ee0347

Please sign in to comment.