ondes_sdk 1.3.1 copy "ondes_sdk: ^1.3.1" to clipboard
ondes_sdk: ^1.3.1 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.3.1 - 2026-01-20 #

Fixed #

  • UDP Module: Fixed message callback registration - onMessage() now properly receives messages from the native bridge by registering JS callbacks
  • Added proper JS interop for UDP message events

1.3.0 - 2026-01-20 #

Added #

  • UDP Module (Ondes.udp)
    • bind() - Bind to a UDP port and start listening
    • send() - Send a UDP message to a specific address
    • broadcast() - Broadcast a message to multiple addresses
    • close() - Close a UDP socket
    • onMessage() - Stream of incoming UDP messages
    • onClose() - Stream of socket close events
    • getInfo() - Get socket information
    • list() - List all active sockets
    • closeAll() - Close all sockets
  • New models: UdpSocket, UdpMessage, UdpSendResult, UdpBroadcastResult, UdpBindOptions

1.2.0 - 2026-01-20 #

Added #

  • Websocket Module (Ondes.websocket)
    • connect() - Connect to a WebSocket server with auto-reconnect support
    • disconnect() - Close a WebSocket connection
    • send() - Send messages (text or JSON)
    • onMessage() - Stream of incoming messages
    • onStatusChange() - Stream of connection status changes
    • getStatus() - Get current connection status
    • list() - List all active connections
    • disconnectAll() - Close all connections
  • New models: WebsocketConnection, WebsocketStatus, WebsocketConnectOptions

1.1.0 - 2026-01-20 #

Changed #

  • Automated publishing via GitHub Actions

1.0.0 - 2026-01-20 #

Added #

  • Initial release of ondes_sdk
  • UI Module (Ondes.ui)
    • showToast() - Display native toast notifications
    • showAlert() - Display alert dialogs
    • showConfirm() - Display confirmation dialogs
    • showBottomSheet() - Display bottom sheet menus
    • configureAppBar() - Configure the native app bar
  • User Module (Ondes.user)
    • getProfile() - Get current user profile
    • isAuthenticated() - Check authentication status
    • getAuthToken() - Get authentication token for API calls
  • Device Module (Ondes.device)
    • hapticFeedback() - Trigger haptic feedback
    • vibrate() - Vibrate the device
    • scanQRCode() - Scan QR codes using camera
    • getGPSPosition() - Get current GPS location
    • getInfo() - Get device information
  • Storage Module (Ondes.storage)
    • get() / set() - Read/write persistent data
    • remove() / clear() - Delete stored data
    • getKeys() - List all stored keys
  • App Module (Ondes.app)
    • getInfo() - Get mini-app information
    • getManifest() - Get manifest.json contents
    • close() - Close the mini-app
  • Friends Module (Ondes.friends)
    • list() - Get friends list
    • request() / accept() / reject() - Manage friend requests
    • block() / unblock() - Block management
    • search() - Search users
  • Social Module (Ondes.social)
    • getFeed() - Get social feed
    • publish() - Create new posts
    • likePost() / unlikePost() - Like management
    • addComment() / getComments() - Comments
    • getStories() / createStory() - Stories
    • pickMedia() - Native media picker
    • follow() / unfollow() - Follow management
  • JS Bridge for Web communication
  • Strongly-typed models for all data structures
  • OndesException for error handling
  • Example Flutter Web application
0
likes
0
points
215
downloads

Publisher

unverified uploader

Weekly Downloads

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.

Homepage
Repository (GitHub)
View/report issues

Topics

#sdk #bridge #webview #mini-apps #platform-integration

Documentation

Documentation

License

unknown (license)

Dependencies

flutter, web

More

Packages that depend on ondes_sdk