Hi everyone,
I’m building a Reactive Web App where:
The user can take a photo using the Camera Plugin (TakePicture action).
The photo is then converted to Base64 and sent to Google Cloud Vision API for detection.
The results are displayed and also stored in a PackageHistory UI, where the user can add/view past captures.
So far, I managed to set up the Google Vision API integration and I can send images to it successfully.
Camera Action / Base64 Conversion
I created local variables LocalImageBinary (Binary Data) and CapturedImageBase64 in TakePictureOnClick (Text).
When I try to assign CapturedImageBase64 = BinaryData.BinaryToBase64(LocalImageBinary), I keep getting syntax or “unknown function” errors.
Sometimes TakePicture.MediaResult.Thumbnail is not recognized, even though I dragged the TakePicture action into my flow.
Feature Not Implemented (Navigation / Add Button)
On my Products screen and PackageHistory screen, when I add a button and run the app, I get this error:
Feature not implemented: Create a new action or navigate to another screen
I want the button to either:
Trigger my TakePictureOnClick client action, OR
Navigate to another screen (e.g., PackageHistoryDetail).
But I can’t get it working.
PackageHistory Add Button
I want to have an “Add” button in my PackageHistory screen where users can add the captured photo + detection results into the history list.
Right now I’m not sure how to properly bind the data so that new items get stored and displayed.
Any advice on fixing the TakePicture + Base64 assignment, the navigation error, or setting up the PackageHistory Add button would be a huge help 🙏
This is the oml file.