@avishayil looks like the main activity needs to be implemented into this package.
Those packages need to be updated so that they don't need the activity to be passed in the constructor. The correct way is to extend ReactContextBaseJavaModule and use the getCurrentActivity() method.
@dzhuowen what do you think?
Currently the sdk package is tied to the main activity so the workaround for RN0.29 would be passing the activity into the package class and init the callback manager there. Haven't try it myself but will look into it.
Something like this might work - https://gist.github.com/satya164/bc9e6f16f2d86a622e82ea795cc8292b
Im sorry but how would we implement that gist?
Sorry not a Java developer.
@donedgardo Modify your MainActivity.java and MainApplication.java according to the gist.
This is very unclear from a non android / non Java developer perspective. The how to docs need an update. I cannot integrate this SDK with 0.29 at present. I have tried following the README and also the gist that was supplied in the comments above but keep getting cannot find symbol errors like,
error: cannot find symbol new FBSDKPackage(mCallbackManager)
@brien-crean Probably you didn't import the FBSDKPackage? Use Android Studio to edit Java files. It auto-imports packages.
Readme updated with instruction for rn 0.29+
Feel free to comment if you see further issues.
Most helpful comment
Something like this might work - https://gist.github.com/satya164/bc9e6f16f2d86a622e82ea795cc8292b