open facebook in ionic 5 app code example

Example: facebook login issue ionic

1) Remove Cordova Facebook Plugin
    sudo cordova plugin rm cordova-plugin-facebook4
2) Update Cordova iOS version 
	npm update -g cordova
	cordova platform rm ios
	cordova platform add [email protected]
3) Reinstall cordova facebook plugin
	sudo cordova plugin add cordova-plugin-facebook4 --save --variable APP_ID=.... --variable APP_NAME=...
4) Add this to pod and install pod

	---- PODS ------	
	pod 'FBSDKCoreKit', '5.7.0'
	pod 'FBSDKLoginKit', '5.7.0'
pod 'FBSDKShareKit', '5.7.0'

Tags:

Misc Example