Skip to content

Commit 706e082

Browse files
mfbzCopilot
andauthored
Add react-native-sdk package (#2745)
* First correct setup * Blocto working! * Walletconnect opens Flow wallet! * Cleanup walletconnect * Minor improvements * Minor fixes and added more logging * Added more logging and auto-redirect support * Fixed autologout * Prettier fixes * Improved implementation without hardcoding services * Improved service discovery * Added missing exports * Improved implementation with client export like fcl * Improved connection management * Fixed walletconnect connection * Simplified walletconnect implementation * Converted logger to normal logs * Added possibility to add custom wallets * Cleanup * Improved folder structure * Improved and added connect modal * Improved modal * Improved service modal * Walletconnect service improvements * Improved scrolling with multiple wallets * Improved connect modal ui * Improved ConnectModal * Improved modal provider * Fixed discovery not working * Minor cleanup * Improved wc connect request * Improved disconnect * Added auto-redirect detection * Fixed app deeplink * Added discoveryAuthnExclude for fcl parity * Removed changes for testing * Typo * More cleanup * Other cleanups * Revert "Other cleanups" This reverts commit 5870fec. * Added changeset * Regenerated lockfile * Logging cleanup * Added session ping with log cleanup * Overall improvements and code refactoring * PR review improvements * Improved and cleaned up flowclientconfig * Updated changeset * Moved computelimit optional with default to fcl-core * Improved flowclientconfig implementation * Implemented DISCOVERY/RN strategy insteaf of custom authenticate implementation * Improved connect modal implementation * Minor cleanup * Added react-core package and refactored react-sdk * Further updated dependencies and all fcl references from tests * Updated dependencies * Added common types * Added changeset * Cleanup react-core * Cleaned up unused context file in react-sdk * Made explicit exports from react-sdk * Minor fixes * Updated version * Minor demo cleanup * Another demo cleanup * Cleaned up hook * Improved hooks flowclient type imports * Any cleanup * Added sansPrefix import * Fixed query hooks types * Fixed tests * Minor params naming fix * Minor fix * Another minor fix * Other fix * Update packages/react-core/src/core/types.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Package implementation with base components * Fixed npm install * Added changeset * Improved components and polyfills * Improved uid support for deeplinking * Minor fixes * Improved discovery endpoint retrieval * Revert "Improved discovery endpoint retrieval" This reverts commit 8fab296. * Improved flowprovider config ux * Updated deps * Fixed deps * Updated deps * Fixed icons * Fixed deps install * Fixed unauthenticate in client * Updated deps * Added playground banner * Improved readme * Added more info to readme * Improved design system * Used sansPrefix instead of regex * Updated changeset * Added truncateAddress function and usage * Refactored FlowQueryClientProvider to react-core * Refactored also GlobalTransactionProvider to react-core --------- Co-authored-by: mfbz <mfbz@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 2106b95 commit 706e082

40 files changed

Lines changed: 2958 additions & 399 deletions

‎.changeset/six-papayas-fall.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"@onflow/fcl-react-native": minor
3+
"@onflow/react-native-sdk": minor
4+
"@onflow/react-sdk": minor
5+
"@onflow/demo": minor
6+
---
7+
8+
Added react-native-sdk package, similar to react-sdk but for react-native applications. It fully supports all the same hooks available in react-sdk, plus the connect and profile components. It leverages fcl-react-native for managing blockchain interactions and it's compatible to both react-native and expo applications.

0 commit comments

Comments
 (0)