com.facebook.react.modules.core.JavascriptException: undefined is not an object (evaluating 'a.requestPermissions'), stack: value@392:1766 notification@817:163 <unknown>@13:377 o@2:517 e@2:326 i@2:188 <unknown>@12:32 o@2:517 e@2:256 i@2:188 global code@819:9

GitHub | karkb | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [Android] App crash on release version. RN 0.27

    GitHub | 7 months ago | karkb
    com.facebook.react.modules.core.JavascriptException: undefined is not an object (evaluating 'a.requestPermissions'), stack: value@392:1766 notification@817:163 <unknown>@13:377 o@2:517 e@2:326 i@2:188 <unknown>@12:32 o@2:517 e@2:256 i@2:188 global code@819:9
  2. 0

    GitHub comment 5304#178779194

    GitHub | 1 year ago | kristjanmik
    com.facebook.react.modules.core.JavascriptException: <unknown> index.android.bundle:15:9209 r index.android.bundle:1:575 n index.android.bundle:1:241 <unknown> index.android.bundle:16:29346 r index.android.bundle:1:575 n index.android.bundle:1:241 <unknown> index.android.bundle:16:26956 r index.android.bundle:1:575 n index.android.bundle:1:241 <unknown> index.android.bundle:16:20170 r index.android.bundle:1:575 n index.android.bundle:1:241 <unknown> index.android.bundle:16:18534 r index.android.bundle:1:575 n index.android.bundle:1:241 <unknown> index.android.bundle:16:17342 r index.android.bundle:1:575 n index.android.bundle:1:241 AppRegistry index.android.bundle:1:27541 <unknown> index.android.bundle:1:12592 r index.android.bundle:1:575 r index.android.bundle:1:304 n index.android.bundle:1:241 <unknown> global code@index.android.bundle:17:26446
  3. 0

    evaluating '_reactNativeFacebookLogin.FBLoginManager.loginWithPermissions from Android signed APK

    GitHub | 8 months ago | viktor-schneider
    com.facebook.react.modules.core.JavascriptException: undefined is not a function (evaluating '_reactNativeFacebookLogin.FBLoginManager.loginWithPermissio ns'), stack: facebookLogin@76454:62 touchableHandlePress@52180:39 _performSideEffectsForTransition@21343:26 _receiveSignal@21259:38 touchableHandleResponderRelease@21033:20 invokeGuardedCallback@15044:12 executeDispatch@14877:38 executeDispatchesInOrder@14900:16 executeDispatchesAndRelease@14354:42 executeDispatchesAndReleaseTopLevel@14365:35 forEachAccumulated@15179:12 processEventQueue@14527:19 runEventQueueInBatch@15204:33 handleTopLevel@15215:21 <unknown>@14147:39 perform@16143:16 batchedUpdates@31745:20 batchedUpdates@15373:32 _receiveRootNodeIDEvent@14146:28 receiveTouches@14208:48 __callFunction@7706:28 <unknown>@7613:22 guard@7564:3 callFunctionReturnFlushedQueue@7612:6
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    React-Native: _reactNativeFacebookLogin.FBLoginManager.loginWithPermissions is undefined

    Stack Overflow | 8 months ago | Vic Torious
    com.facebook.react.modules.core.JavascriptException: undefined is not a function (evaluating '_reactNativeFacebookLogin.FBLoginManager.loginWithPermi ssions'), stack: facebookLogin@76454:62 touchableHandlePress@52180:39 _performSideEffectsForTransition@21343:26 _receiveSignal@21259:38 touchableHandleResponderRelease@21033:20 invokeGuardedCallback@15044:12 executeDispatch@14877:38 executeDispatchesInOrder@14900:16 executeDispatchesAndRelease@14354:42 executeDispatchesAndReleaseTopLevel@14365:35 forEachAccumulated@15179:12 processEventQueue@14527:19 runEventQueueInBatch@15204:33 handleTopLevel@15215:21 <unknown>@14147:39 perform@16143:16 batchedUpdates@31745:20 batchedUpdates@15373:32 _receiveRootNodeIDEvent@14146:28 receiveTouches@14208:48 __callFunction@7706:28 <unknown>@7613:22 guard@7564:3 callFunctionReturnFlushedQueue@7612:6
  6. 0

    GitHub comment 108#236120649

    GitHub | 8 months ago | npomfret
    com.facebook.react.modules.core.JavascriptException: undefined is not an object (evaluating 'i.readDir'), stack: <unknown>@629:187 o@2:517 e@2:326 i@2:188 <unknown>@628:299 o@2:517 e@2:326 i@2:188 <unknown>@365:1403 o@2:517 e@2:326 i@2:188 <unknown>@12:101 o@2:517 e@2:256 i@2:188 global code@635:9

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.facebook.react.modules.core.JavascriptException

      undefined is not an object (evaluating 'a.requestPermissions'), stack: value@392:1766 notification@817:163 <unknown>@13:377 o@2:517 e@2:326 i@2:188 <unknown>@12:32 o@2:517 e@2:256 i@2:188 global code@819:9

      at com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError()
    2. com.facebook.react
      ExceptionsManagerModule.reportFatalException
      1. com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError(ExceptionsManagerModule.java:90)
      2. com.facebook.react.modules.core.ExceptionsManagerModule.reportFatalException(ExceptionsManagerModule.java:78)
      2 frames
    3. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    4. com.facebook.react
      NativeRunnableDeprecated.run
      1. com.facebook.react.bridge.BaseJavaModule$JavaMethod.invoke(BaseJavaModule.java:319)
      2. com.facebook.react.bridge.NativeModuleRegistry$ModuleDefinition.call(NativeModuleRegistry.java:187)
      3. com.facebook.react.bridge.NativeModuleRegistry.call(NativeModuleRegistry.java:62)
      4. com.facebook.react.bridge.CatalystInstanceImpl$NativeModulesReactCallback.call(CatalystInstanceImpl.java:420)
      5. com.facebook.react.bridge.queue.NativeRunnableDeprecated.run(Native Method)
      5 frames
    5. Android Platform
      Handler.dispatchMessage
      1. android.os.Handler.handleCallback(Handler.java:739)
      2. android.os.Handler.dispatchMessage(Handler.java:95)
      2 frames
    6. com.facebook.react
      MessageQueueThreadHandler.dispatchMessage
      1. com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
      1 frame
    7. Android Platform
      Looper.loop
      1. android.os.Looper.loop(Looper.java:148)
      1 frame
    8. com.facebook.react
      MessageQueueThreadImpl$3.run
      1. com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:197)
      1 frame
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:818)
      1 frame