Skip to content

Disabling the Facebook App Events SDK for a specific build #930

Closed
@gbyesiltas

Description

@gbyesiltas

Summary

We have set-up the facebook app events plugin as per the docs. For now we want to only enable it in our staging app and not in the actual production app, and not in the app instances we build for End-to-end testing. However, simply not adding the facebook app events plugin doesn't seem to work (at least for Android).

From what I understand, the FB SDK is automatically initialized for Android. I have tried adding the meta-data that is supposed to turn that off to AndroidManifest but that didn't help either.

There is a closed issue about this here though the specific examples there are related to Expo which doesn't apply to us and honestly the issue was closed without a real conclusion :D

Is there a way to do this?

Screenshot 2024-03-19 at 17 58 11
Screenshot 2024-03-19 at 11 49 07
Screenshot_1710845354

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions