FLIR One Developer / Blog / Topics / compatibility, Development Platform, React Native, Swift / Any experience using FLIR SDK within the React Native framework? Or ideas on it?

Any experience using FLIR SDK within the React Native framework? Or ideas on it?

Home Forums FLIR ONE SDK Development iOS development Installation and getting started Any experience using FLIR SDK within the React Native framework? Or ideas on it?

This topic contains 4 replies, has 4 voices, and was last updated by Profile photo of ut ut 4 days, 22 hours ago.

Viewing 5 posts - 1 through 5 (of 5 total)

  • Author

    Posts

  • #7988

    Profile photo of Mark
    Mark

    Participant

    Hi there, I’m new here!

    I’m building an iOS and Android app with React Native, and would like to support FLIR image taking inside my app. I’ve already read on the forum that it’s not recommended: “Working with platforms using just one codebase such as React Native can lead to many unforeseen or unsupported problems” in here. Still I’d like to try to make it work since I’ve already got the app halfway developed with React Native, and it would be great for other developers to know too if and how it’d possible, since React Native is getting more popular.

    One way I’ve researched is using swift modules inside React Native for iOS like here and here . Can anyone validate this idea? Or any obvious problems with this?

    Or would there even be an easier way to get started?

    Any help is much appreciated! Thank you!:)

    #9566

    Profile photo of James
    James

    Participant

    Hey Mark!

    I’m currently in the same boat as you found yourself mmmmmm about 8 months ago?? Just wondering if you’ve made any progress on integrating their SDK with your React Native app? I imagine having to learn all the Obj-C code required to do your own RN integration would probably have taken you that long, and that’s certainly no slight towards you my friend… it’s just that, HOLY F*CK! Haha, hope you’ve had success!

    Cheers,

    Eli

    #11919

    Profile photo of Danny
    Danny

    Participant

    Hi all,

    I am wondering if anyone has successfully gotten Flir SDK to work with React Native using the bridge?

    Thanks,

    Danny

    #11920

    Profile photo of James
    James

    Participant

    Hey Danny,

    I tried for months to write my own React Native wrapper for the FLIR SDK but was unsuccessful in doing so… alas, I threw in the towel. For the time being I’ve been resigned to requiring users to import photos taken with the FLIR One app from their Photos library. It’s definitely not ideal but it’s all I could do given my limited experience writing C++. I just wasn’t able to get it to work, not to mention there is absolutely NOTHING on the web that’s even remotely helpful (FLIR specific). Until the lovely folks at FLIR decide they want to release a wrapper for React Native I’m stuck. Unfortunately I don’t foresee this ever coming to fruition, certainly not in the near term as I imagine there is little to no motivation on their part to do so, given the fact that they, not so long ago, landed a sizable contract with the government (I can’t recall how many billions). I just don’t see any incentive on their part to make this a top priority, and quite frankly I can hardly blame them.

    I’m not sure what resources you have at your disposal, but I’d bet a developer proficient in C++ could get it done. It was just too big a problem for me to tackle as a solo React dev with a timeline to adhere to. My project deadline was the beginning of this year so I haven’t really looked to see if there are any new resources out there since then, but I wish you the best of luck! If you or your company gets something working and make it open source I’d love to check it out, maybe even contribute via testing/debugging. Let me know!

    Cheers,

    Eli

    #12086

    Profile photo of ut
    ut

    Participant

    I have build my react-native-flir library for FLIR ONE SDK!That has some problems:connectEmulator is OK,but connectDevice is not work! The same code in native iOS project is ok! I don’t know how to fix it!by the way , Android build for react-native-flir is work OK!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.