Native Service Message Port can’t receive message from Web UI (Hybrid App)
Native Service Message Port can’t receive message from Web UI (Hybrid App)
BY 15 Sep 2019Native Application Development
I am working on a Hybrid App (Web UI with Native Service) of API version 4.0 for my Gear S3 Frontier.
I implemented the communication mechanism using Message Ports. Now here’s the workflow so far:
Web UI App is run.
By tapping on textbox, the Native Service App is launched successfully.
It sends the message successfully to the Web UI.
The Web UI receives the message, updates the screen and sends the message to the Service App.
The Service App gets crashed in response.
I’ve checked that the service app message callback function is called and I’ve received the bundle of size 1 (using bundle_get_count method) but when I try to get the message by “bundle_get_str” method, the serviceApp gets crashed. The log data related to message port communication between the two apps is given below:
Native Service Message Port can’t receive message from Web UI (Hybrid App)
I am working on a Hybrid App (Web UI with Native Service) of API version 4.0 for my Gear S3 Frontier.
I implemented the communication mechanism using Message Ports. Now here’s the workflow so far:
I’ve checked that the service app message callback function is called and I’ve received the bundle of size 1 (using bundle_get_count method) but when I try to get the message by “bundle_get_str” method, the serviceApp gets crashed. The log data related to message port communication between the two apps is given below:
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio