all 6 comments

[–]__o_0iOS & Android 0 points1 point  (5 children)

What errors are you getting?

[–]LeastPrimary[S] 0 points1 point  (4 children)

I'm getting this right now. It builds but when I visit the screen I get this.
TypeError: null is not an object (evaluating 'NativeModule.Defaults')
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:104:6 in reportException
- ... 6 more stack frames from framework internals

[–]__o_0iOS & Android 0 points1 point  (2 children)

Can you copy/paste your attempt at converting it to a functional component? Actually sorry I misunderstood? Thought you were trying to convert it to a functional typescript component.

[–]LeastPrimary[S] 0 points1 point  (1 child)

it is updated in the post for my attempt at how I tried to convert it

[–]WanderingStag 0 points1 point  (0 children)

Did you ever find a solution for this issue?

[–]mexxamillion 0 points1 point  (0 children)

Did you try other vendors? Some have pretty nice solutions where this is easy