Skip to content

Firebase functions app check implementation#79

Open
IT-Guy007 wants to merge 9 commits into
skiptools:mainfrom
IT-Guy007:firebase-functions-app-check
Open

Firebase functions app check implementation#79
IT-Guy007 wants to merge 9 commits into
skiptools:mainfrom
IT-Guy007:firebase-functions-app-check

Conversation

@IT-Guy007
Copy link
Copy Markdown
Contributor

Thank you for contributing to the Skip project! Please use this space to describe your change and add any labels (bug, enhancement, documentation, etc.) to help categorize your contribution.

Please review the contribution guide at https://skip.dev/docs/contributing/ for advice and guidance on making high-quality PRs.

Skip Pull Request Checklist:

  • REQUIRED: I have signed the Contributor Agreement
  • REQUIRED: I have tested my change locally with swift test
  • OPTIONAL: I have tested my change on an iOS simulator or device
  • OPTIONAL: I have tested my change on an Android emulator or device

  • AI was used to generate or assist with generating this PR. Please specify below how you used AI to help you, and what steps you have taken to manually verify the changes.

Wrote the documentation and helped finding the names of the google functions

IT-Guy007 added 6 commits May 13, 2026 21:36
Implement Firebase Storage listing and byte-level progress observation: add async list/maxResults/pageToken and listAll on StorageReference, introduce StorageListResult wrapper (items, prefixes, pageToken), and add StorageTaskStatus/StorageProgress/StorageTaskSnapshot types. Implement observe/removeObserver/removeAllObservers for UploadTask and FileDownloadTask (with internal observer tracking) and provide no-op/overrides for other download tasks. Update tests to exercise list APIs and observer types, and update README to reflect increased Storage support; remove related TODO comments.
Clamp Int64 maxResults to the Swift Int range before casting to Int to prevent overflow when calling platformValue.list(...). Adds a `clamped` variable and uses it in both list(maxResults:) overloads so large or small Int64 values won't cause invalid Int conversion.
@cla-bot cla-bot Bot added the cla-signed label May 15, 2026
@IT-Guy007
Copy link
Copy Markdown
Contributor Author

Interestingly skip removes the set part of the function name, changed the builder and locally everything works

Comment thread Sources/SkipFirebaseFunctions/SkipFirebaseFunctions.swift Outdated
@marcprux
Copy link
Copy Markdown
Member

Interestingly skip removes the set part of the function name, changed the builder and locally everything works

Skip doesn't remove the "set" part. I suspect you were just seeing a mis-match between the Swift and Android versions of the API, which isn't uncommon (the iOS version has a "require" that Android does't have):

iOS: requireLimitedUseAppCheckTokens
Android: setLimitedUseAppCheckTokens

@IT-Guy007
Copy link
Copy Markdown
Contributor Author

PR is ready

@IT-Guy007 IT-Guy007 requested a review from marcprux May 16, 2026 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants