I am getting BranchSDK: returned {}
as response
when i use Branch.getInstance().setIdentity("your_user_id");
if you want a branch instance back use this method
Branch branch = Branch.getAutoInstance(context,"your branch key");
as per the docs
Singleton method to return the pre-initialised, or newly initialise and return, a singleton object of the type Branch.
After that use can use singleton Branch object throughout your appp