ondes_sdk 1.0.0
ondes_sdk: ^1.0.0 copied to clipboard
Flutter SDK for building mini-apps that run inside the Ondes Core Bridge. Provides access to native features like UI, Storage, Device, Social, and more.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2026-01-20 #
Added #
- Initial release of
ondes_sdk - UI Module (
Ondes.ui)showToast()- Display native toast notificationsshowAlert()- Display alert dialogsshowConfirm()- Display confirmation dialogsshowBottomSheet()- Display bottom sheet menusconfigureAppBar()- Configure the native app bar
- User Module (
Ondes.user)getProfile()- Get current user profileisAuthenticated()- Check authentication statusgetAuthToken()- Get authentication token for API calls
- Device Module (
Ondes.device)hapticFeedback()- Trigger haptic feedbackvibrate()- Vibrate the devicescanQRCode()- Scan QR codes using cameragetGPSPosition()- Get current GPS locationgetInfo()- Get device information
- Storage Module (
Ondes.storage)get()/set()- Read/write persistent dataremove()/clear()- Delete stored datagetKeys()- List all stored keys
- App Module (
Ondes.app)getInfo()- Get mini-app informationgetManifest()- Get manifest.json contentsclose()- Close the mini-app
- Friends Module (
Ondes.friends)list()- Get friends listrequest()/accept()/reject()- Manage friend requestsblock()/unblock()- Block managementsearch()- Search users
- Social Module (
Ondes.social)getFeed()- Get social feedpublish()- Create new postslikePost()/unlikePost()- Like managementaddComment()/getComments()- CommentsgetStories()/createStory()- StoriespickMedia()- Native media pickerfollow()/unfollow()- Follow management
- JS Bridge for Web communication
- Strongly-typed models for all data structures
- OndesException for error handling
- Example Flutter Web application