Skip to content

Crash on iOS using AdChoiceView #286

@joeykamsteeg

Description

@joeykamsteeg

Bug Report

Before opening

  • Did you try the latest release?
  • Did you look for existing issues?

Ad Modules

Native Ads: AdChoicesView

Platforms

Versions

  • Android: -
  • iOS: 14
  • react-native-fbads: 7.0.3
  • react-native: 0.63.3

Ads Environment

  • Facebook app installed: Yes and No
  • Happens in test (dev build + device is marked as a test device): Both
  • Happens in production (release build + not a test device): Yes
  • Facebook review status: [not submitted | approved]: Not submitted

Current Behaviour

The ads are correctly displayed on Android device when I'm using the AdChoicesView component. On iOS it will crash when I'm using that component if I don't use it, there is no problem. I'm getting the following error in Xcode:

Error occurred in file AdChoiceView.m
image

Expected Behaviour

On iOS the AdChoicesView component should be displayed

Steps to Reproduce

I have just added the AdChoiceView component and it is crashing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions