Alaznah

Fix common Alaznah Calling integration issues.

Troubleshooting

SymptomLikely fix
checkDebugAarMetadata / androidx.core requires API 36Use @alaznah/calling that supports compileSdk 35/36, or see Compatibility. Do not needlessly bump past your RN default
Unable to resolve module / Metro path errorsRebuild; clear Metro cache (--reset-cache); ensure required peers are installed (react-native-webrtc, react-native-incall-manager, @react-native-community/netinfo, react-native-svg) — Installation
Native module missing / nullRebuild the binary; Expo Go unsupported
WebRTC adapters not foundRequired peers missing — especially react-native-webrtc. npm: install @alaznah/calling, then npm install react-native-webrtc react-native-incall-manager @react-native-community/netinfo react-native-svg. Yarn / pnpm: one-line install in Installation. Then rebuild. CallKeep is optional and not needed for this error
Cannot connectReachable signalingUrl; device cannot use your laptop localhost without a tunnel
Auth / 401Token userId must match config.userId; mint a fresh token
No audioMic permission; check mute on both peers; physical device preferred
Black / no videoCamera permission; mediaType: 'video'; check videoEnabled
One-way mediaFirewall / ICE — try iceTransportPolicy: 'relay' with working TURN
No ring in backgroundConsole push credentials + registerPushToken + OS permissions
JS incoming flashes after native AcceptCall drainNativeIncomingAction() then syncPendingCalls() on AppState active
Accept “does nothing” on tapBy design — swipe up on the green control
Duplicate native + JS incomingsetNativeIncomingSuppressed(true) while in-app calling UI is mounted
iOS simulator CallKit crashDo not enable CallKeep / CallKit paths that disallow simulator

Still stuck?

Contact support with:

  • App ID / project id
  • Platform + OS version
  • @alaznah/calling version
  • Foreground vs background scenario
  • Relevant logs (no secrets)