https://linen.dev logo
Join Discord
Powered by
# react
  • u

    user

    10/07/2019, 10:21 AM
    Is that regexp coming from your code?
  • m

    miniature-summer-93860

    10/07/2019, 11:56 AM
    no I have no regex in it
  • m

    miniature-summer-93860

    10/07/2019, 11:56 AM
    it's just a base project
  • a

    ambitious-knife-25690

    10/07/2019, 12:01 PM
    @miniature-summer-93860
  • a

    ambitious-knife-25690

    10/07/2019, 12:01 PM
    I haven't updated this in a while but try running this
  • a

    ambitious-knife-25690

    10/07/2019, 12:01 PM
    it's just a blank project but if it works you can try just copy pasting the code into that project
  • m

    miniature-summer-93860

    10/07/2019, 12:04 PM
    okay thanks I'll try
  • a

    ambitious-knife-25690

    10/07/2019, 12:19 PM
    @miniature-summer-93860 Let me know when you've tried and whether it works
  • a

    ambitious-knife-25690

    10/07/2019, 1:34 PM
    On the react-native note though, what's the best way to debug? I'm running IOS Debugger which connects via launch tasks but i'm not getting source maps
  • a

    ambitious-knife-25690

    10/07/2019, 1:35 PM
    I know where the error is, but if this inconvenience can be easily remedied (via some existing solution) that'd be great
  • m

    miniature-summer-93860

    10/08/2019, 7:15 AM
    I tried out the sample on github you sent me, the app downloads, it's just the packager can't get past this.
  • m

    miniature-summer-93860

    10/12/2019, 10:18 AM
    I got react working on ios!
  • a

    ambitious-knife-25690

    10/12/2019, 10:47 AM
    Congrats!
  • a

    ambitious-knife-25690

    10/25/2019, 5:03 PM
    Has anyone messed with
    react-native-camera
    ?
  • a

    ambitious-knife-25690

    10/25/2019, 5:03 PM
    I can't get it to load the camera no matter what
  • a

    ambitious-knife-25690

    10/25/2019, 5:03 PM
    I'm getting the following error:
    TypeError: CameraManager.checkIfRecordAudioPermissionsAreDefined is not a function
    as a yellowbox warning/error
  • a

    ambitious-knife-25690

    10/25/2019, 5:04 PM
    everything is auto-linked, i've got
    missingDimensionStrategy 'react-native-camera', 'general'
    in my
    app/build.gradle
  • a

    ambitious-knife-25690

    10/25/2019, 5:04 PM
    i've got
    Copy code
    xml
        <uses-permission android:name="android.permission.RECORD_AUDIO"/>
        <uses-permission android:name="android.permission.CAMERA" />
        <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  • a

    ambitious-knife-25690

    10/25/2019, 5:04 PM
    in my android manifest
  • a

    ambitious-knife-25690

    10/25/2019, 5:05 PM
    I've given the app permissions to each of the above on my device
  • a

    ambitious-knife-25690

    10/25/2019, 5:05 PM
    But I can't seem to find any information on this error on google :/
  • a

    ambitious-knife-25690

    10/25/2019, 5:05 PM
    so i'm wondering if it's a haxe issue
  • a

    ambitious-knife-25690

    10/25/2019, 5:10 PM
    Camera component just shows the loading icon
  • c

    cool-psychiatrist-49311

    10/25/2019, 5:14 PM
    did you rebuild the native app (
    react-native run-android
    ) after adding the library
  • a

    ambitious-knife-25690

    10/25/2019, 5:18 PM
    Yes, the component is recognised
  • a

    ambitious-knife-25690

    10/25/2019, 5:18 PM
    I've also tried on 2 different devices and 1x emulator
  • a

    ambitious-knife-25690

    10/25/2019, 5:22 PM
    a callback with
    ref
    gets set to confirm the camera component is somewhat working
  • a

    ambitious-knife-25690

    10/25/2019, 6:30 PM
    Ah maybe... it's not I'm not sure at this point
  • a

    ambitious-knife-25690

    10/25/2019, 6:30 PM
    this.camera.takePictureAsync
    has
    Camera handle cannot be null
  • a

    ambitious-knife-25690

    10/25/2019, 7:08 PM
    Okay apparently
1...202122...80Latest