You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I tried placing the sample component inside a functional react-native component but nothing happened. Can you pls give some equivalent sample of usage in functional comppnents or how to use the sample class component in a functional component pls?
Thanks!
The text was updated successfully, but these errors were encountered:
Hello Imran, if I understood your question correctly, this is the sample of SDK for BlinkCard . Here are also the steps of how to integrate it to your project. Let me know if you have any further questions!
Hey @MBrizic01 I have setup the package in my project, I used this sample code provided here. When I place this sample component inside of a parent functional component, nothing happens when I click scan.
functionParent(){return(<div><Sample/></div>)}
However, when I make the Sample component a separate screen, it works fine.
I even tried refactoring the above same code to use in Func Comp but it didnt work, and didn't give any errors.
So, I was looking for some code examples of usage using hooks and functional components.
The setup of the package is good, I am only finding issues with the usage docs.
Hello @ImranFromPoppins, can you please tell me what would you like to achieve? If you want to reuse our built-in activity UX inside your own activity, that is not possible for React Native. In order to achieve it, you would need to do it via native platform and then wrap it to be used for RN. Let me know if this helps!
Hello, I tried placing the sample component inside a functional react-native component but nothing happened. Can you pls give some equivalent sample of usage in functional comppnents or how to use the sample class component in a functional component pls?
Thanks!
The text was updated successfully, but these errors were encountered: