-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with redirecting from push notification #97
Comments
Hi! Please provide some code from your project where the issue happens, or share the entire project. We'll see what can be done) |
i cant' send you the whole project but i can send some code from my activity and presenter public class MainTabsActivity extends BaseActivity implements MainTabsView {
} @OverRide package com.bluip.behive.ui.maintabs; import com.bluip.behive.common.base.MvpBaseView; import java.util.List; import moxy.viewstate.strategy.OneExecutionStateStrategy; @StateStrategyType(OneExecutionStateStrategy.class)
} MainTabsPresenter package com.bluip.behive.ui.maintabs; import android.Manifest; import com.bluip.behive.AppService; import java.util.ArrayList; import javax.inject.Inject; import io.intercom.android.sdk.Intercom; @InjectViewState
// else if (sharedPreferences.getInt(Const.UPDATE_TYPE, -1) == Const.UpdateTypes.REMOVED_FROM_BRANCH) {
// bus.unsubscribeRedirectConfig();
}
} |
@hrayr09amiraghyan could you make a gist of it? It's kinda unreadable now, and the formatting is broken. |
In my project i use Moxy Library to inject View State.When my app is killed and i got a message as a push notification and want to click and redirect to senders page, Viewstate is null and cant implement my Activity's method(which opens the chat)),Can you give me solution to this problem?
Thanks
The text was updated successfully, but these errors were encountered: