react-native-webrtc / react-native-webrtc/react-native-callkeep

Example project errors when opening the app in Simulator

Open
#282 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.1k
Forks
511
Avg merge
9h 12m
Merged PRs (30d)
2

Description

Bug report

  • I've checked the example to reproduce the issue.
Reproduced on:
  • Android
  • iOS

Description

Fresh installation of the example project errors when opening the app in Simulator.

Steps to Reproduce

  • Clone the repo
  • cd into example directory
  • yarn install; cd ios; pod install
  • In separate terminal yarn start
  • yarn ios
  • Click app in Simulator

Versions

- Callkeep: 3.0.7
- React Native: 0.59.8
- iOS: 13.2
- Phone model: iPhone X

Logs

Unknown argument type '__attribute__' in method -[RCTAppState getCurrentAppState:error:]. Extend RCTConvert to support this type.

-[RCTModuleMethod processMethodSignature]
    RCTModuleMethod.mm:375
-[RCTModuleMethod invokeWithBridge:module:arguments:]
facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&)
facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)::$_0::operator()() const
invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_main_queue_callback_4CF
__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
__CFRunLoopRun
CFRunLoopRunSpecific
GSEventRunModal
UIApplicationMain
main
start
0x0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the example directory, reproduce the failure with yarn install, pod install, yarn start, and yarn ios, then inspect the iOS setup around the reported RCTAppState method signature. Done means the freshly installed example opens in the iOS Simulator without the __attribute__ error.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.