The easiest solution is to
Add string resources into (I am using linux ubuntu this is my ionic project path) file : /home/user/js/fb4/platforms/android/app/src/main/res/values/strings.xml
<string name="fb_app_id">59523234234</string>
<string name="fb_app_name">hajmo.ba</string>
and my project now works!
As mentioned here
Most of the steps described in the doc did not work for me, here is what i have done to solve this issue
Configure the project with your FB app id in the res/values/facebookconnect.xml file. For example:
<resources>
<string name="fb_app_id">123456789</string>
<string name="fb_app_name">TEST</string>
</resources>
Then, type in your terminal the following commands:
(I did not run that, the platform was already installed)
cordova platform add android
cordova -d plugin add ht…
5 Likes