🎄 Happy Holidays! 🥳
Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.
Happy Holidays!
Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.
Mobile Apps
The JavaScript libraries make mention of mobile client applications, can they be used in react-native? if not what is the recommended approach for integrating solace with mobile apps?
Comments
-
There is nothing preventing SolclientJS from working in react-native or phonegap or other frameworks. That said, it's not something we actively test in QA. I believe there have been some customers give it a try but I am not sure if they were successful or not.
I am in product management at Solace and we would certainly be interested in hearing your results if you decide to give it a go.
Feel free to share here on the community and we can all help out as you go.
1 -
Hey @adam ! As Andrew mentioned, you can se SolClientJS as a JS lib in your RN application. I have not seen it being used for mobile per se however a there are a bunch of projects using solclient js in frontend frameworks. Check out this Angular Solace client on our Solace Community github org it will give you some inspiration on how solclient-js was wrapped to be used in another framework.
Happy to hear your input and mobile journey to using Solace in your application, feel free to share here. We can also have your tool/wrapper/implementation on the community github org as well.
Note: you can always use MQTT in your mobile app as well if you had any RN + solclientjs integration. We have an example about "Building an Event-Driven Kotlin Android App using MQTT and Solace" if you look that up and want to use how mqtt was used.
0 -
Hey @adam, so I put together this example for MQTT + React Native https://github.com/andrew-j-roberts/react-native-mqtt-starter
Disclaimer: this starter is totally "as-is." Maybe you can use it as a starting point to learn more, but it relies on some relatively small open source dependencies and hasn't been tested.. definitely not an official Solace starter/recommendation!!
1