По какой-то причине Profile.getCurrentProfile()
отображается сразу по ошибке сразу после входа в FaceBook, используя FB API версии 4.0.
Это вызывает проблемы для меня в моем приложении, потому что я не могу отображать следующий Activity
с Profile
равным нулю.
Причина, по которой я говорю, что это ошибка, иногда возникает из-за того, что если я закрываю приложение и снова его открываю, я могу перейти к следующему Activity
, но если я еще не зарегистрирован, а затем login, Profile
имеет значение null. Кажется, это на короткий период.
Есть ли работа или исправление?