Skip to content
This repository was archived by the owner on Oct 24, 2022. It is now read-only.
This repository was archived by the owner on Oct 24, 2022. It is now read-only.

[Feature] Support iOS URL scheme suffix #654

Description

@peterpeterparker

[X] I want to submit a feature request

Description

In order to use the same Facebook Id in multiple applications on iOS, custom URL scheme suffix would need to be use (see screenshot from the Facebook developer console). Unfortunately, this is not yet possible with the current version of this plugin

History

A PR was submitted (#386). The provided solution itself looks correct, modifying -Info.plit in order to add FacebookUrlSchemeSuffix and the suffix behind the APP_ID in CFBundleURLSchemes.

Unfortunately the PR had to be rejected because it introduced a mandatory suffix/variable, which of course can't be integrated, URL scheme suffix should remain optional.

Furthermore, in case of no URL scheme suffix, the behavior should remains the same as actual status, respectively, if nothing specified, no FacebookUrlSchemeSuffix or other info should be added or modified in -Info.plit

Goal

If URL scheme suffix are not used, nothing should be added and different than with actual version of the plugin respectively -Info.plit should not be modified

If URL scheme suffix should be use, -Info.plit should contains a new child and value for FacebookUrlSchemeSuffix and the suffix should be added after the APP_ID in the CFBundleURLSchemes value

Documentation

Facebook SDK: https://developers.facebook.com/docs/reference/ios/current/constants/FBSDKSettings/

Screenshot

capture d ecran 2018-05-08 a 19 59 39

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions