[x] I'm reporting a reproducible issue with the code
[ ] I'm reporting a feature request
Describe the Bug of feature request
Install and configure this plugin with Cordova 9.
The problem is that after_prepare.js hook for browser platform tries to read APP_ID value from config.xml however as of the latest Cordova 9 plugins and their preferences are saved into package.json (see https://github.com/apache/cordova-docs/issues/1004#issuecomment-510598007) so APP_ID value is not found and is not set as required.
The fix could be, if APP_ID value is not found, try to read it from package.json and set if found.
Expected Behavior
FB login should work on browser platform when Cordova 9 is used.
Sample repo
N/A
Plugin version, OS, devices, etc
FB plugin version 6.4.0
There is an error in console
Bug or feature request
[x] I'm reporting a reproducible issue with the code [ ] I'm reporting a feature request
Describe the Bug of feature request Install and configure this plugin with Cordova 9.
The problem is that after_prepare.js hook for browser platform tries to read APP_ID value from config.xml however as of the latest Cordova 9 plugins and their preferences are saved into package.json (see https://github.com/apache/cordova-docs/issues/1004#issuecomment-510598007) so APP_ID value is not found and is not set as required.
The fix could be, if APP_ID value is not found, try to read it from package.json and set if found.
Expected Behavior
FB login should work on browser platform when Cordova 9 is used.
Sample repo N/A
Plugin version, OS, devices, etc FB plugin version 6.4.0
Additional Context N/A
Important note N/A