Skip to content

feat: add ios implementation #2

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

Open
wants to merge 1 commit into
base: feat/RMET-4046/implementation
Choose a base branch
from

Conversation

andredestro
Copy link

No description provided.

@andredestro andredestro self-assigned this Apr 23, 2025
@andredestro andredestro force-pushed the feat/RMET-4046/implementation-ios branch 3 times, most recently from 77455ba to ae4236c Compare April 24, 2025 15:30
@andredestro andredestro force-pushed the feat/RMET-4046/implementation-ios branch from ae4236c to 4383aef Compare April 24, 2025 16:01
],
targets: [
.binaryTarget(
name: "IONFileTransferLib",
// url: "https://github.com/ionic-team/ion-ios-filetransfer/releases/download/1.0.0/IONFileTransferLib.zip",
// checksum: "<compute_checksum>" // sha-256
path: "./ios/Sources/FileTransferPlugin/IONFileTransferLib.xcframework"
path: "./ios/Sources/FileTransferPlugin/IONFileTransferLib.zip"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are we using the .zip instead of the xcframework? Is this temporary?

Copy link

@alexgerardojacinto alexgerardojacinto Apr 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was trying to build the example-app locally but it fails because of the reference to the IONFileTransferLib library, so it may be related with this.

Do you have an .ipa of the app that I can use to test? Or is there a build of an OutSystems app that I can use?

shouldTrackProgress: Bool
) -> (IONFLTRTransferResult) -> Void {
return { result in
if case let .ongoing(status) = result {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use a switch statement instead?

) -> (IONFLTRTransferResult) -> Void {
return { result in
if case let .ongoing(status) = result {
if shouldTrackProgress {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could use a guard instead of this if to avoid nesting, like:

guard shouldTrackProgress else { return }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants