Skip to content

feat: Add React Native SDK with AppKit wallet integration - #1

Open
skartik-sk wants to merge 5 commits into
campaign-layer:mainfrom
skartik-sk:main
Open

feat: Add React Native SDK with AppKit wallet integration#1
skartik-sk wants to merge 5 commits into
campaign-layer:mainfrom
skartik-sk:main

Conversation

@skartik-sk

Copy link
Copy Markdown
  • Add complete React Native SDK implementation
  • Include AppKit wallet integration with sign/send operations
  • Add mobile-optimized authentication flows
  • Include native UI components (CampButton, CampModal)
  • Add comprehensive hooks (useCampAuth, useAppKit, useSocials, useOrigin)
  • Support AsyncStorage with fallbacks
  • Add TypeScript definitions and error handling
  • Update build configuration for React Native exports

- Add complete React Native SDK implementation
- Include AppKit wallet integration with sign/send operations
- Add mobile-optimized authentication flows
- Include native UI components (CampButton, CampModal)
- Add comprehensive hooks (useCampAuth, useAppKit, useSocials, useOrigin)
- Support AsyncStorage with fallbacks
- Add TypeScript definitions and error handling
- Update build configuration for React Native exports
- Created a new React Native example project with Expo.
- Added index.js to register the root component.
- Included package.json with necessary dependencies and scripts for Expo.
- Added TypeScript configuration for the React Native example.
- Updated main package.json to include new dependencies for Rollup and React Native.
- Enhanced Rollup configuration to handle React Native submodules and added multi-entry support.
- Implemented scripts to expand React Native entries for Rollup.
…utility functions and error handling

- Deleted TikTokAPI and TwitterAPI classes from the core module.
- Removed associated error handling classes (APIError, ValidationError).
- Eliminated utility functions for data fetching and URL building.
- Removed storage utility for React Native, including AsyncStorage wrapper.
- Cleaned up TypeScript interfaces and types related to the removed modules.
- Updated Rollup configuration to reflect the removal of React Native specific builds.
- Refactored uploadWithProgress function to use XMLHttpRequest for progress tracking.
- Replaced axios with fetch for network requests in utility functions.
feat: Introduce TypeScript interfaces for Camp Network React Native SDK

feat: Implement CampButton and related components for authentication

feat: Create icons for social platforms and utility functions

feat: Establish CampContext and ModalContext for state management

feat: Develop Tooltip component for enhanced UI interactions

feat: Add utility functions for API requests and data formatting

chore: Update rollup configuration for improved module structure

chore: Enhance package.json for better module resolution
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.

1 participant