Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?

4 댓글

  • Devan - Community Manager
    댓글 작업 고유 링크

    Hello Kevin,

    Due to the nature of this error, I've gone ahead and opened up a ticket on your behalf so one of our experts can troubleshoot this with you. 

    Best regards!

    1
  • Kevin
    댓글 작업 고유 링크

    Thanks Devan. I am on 1.4.5

    0
  • Kevin
    댓글 작업 고유 링크

    Your documentation is very confusing.

     

    I am able to stop this error, but now I can't set any config on my ZopimChatActivity class. 

     

    This is my code. How do I pass in tags????

     

    Intent intent = new Intent(mReactContext, ZopimChatActivity.class);
    intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
    mReactContext.startActivity(intent);

     

     

    0
  • Brett - Community Manager
    댓글 작업 고유 링크

    Hey Kevin,

    I'd recommend providing any additional information in the ticket we've created on your behalf. Our Customer Advocacy team will be able to assist further with this issue you're experiencing on your end.

    I've copied this information over into the ticket for you.

    Thanks!

    0

댓글을 남기려면 로그인하세요.

Zendesk 제공