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

6 Comments

  • Devan
    Comment actions Permalink

    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
    Comment actions Permalink

    Thanks Devan. I am on 1.4.5

    0
  • Kevin
    Comment actions Permalink

    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
    Comment actions Permalink

    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
  • Paul Stoker
    Comment actions Permalink

    Hi Zendesk,

    I have the same issue as Kevin above. I am trying to create a chat with session configuration but I receive the same error. It would be very useful if you could show a complete example of how to open a chat window with session configuration included. Was this issue ever resolved?

    Thanks

    0
  • Bryan - Community Manager
    Comment actions Permalink

    Hi Paul Stoker -- there are a number of issues to consider when debugging Mobile SDK apps.

    I suggest looking over "Ticket submission guidelines for mobile SDK developers" and consider submitting a ticket with this additional information.

    In addition, there are a number iOS sample apps here and Android sample apps here to look over, which may prove useful as well.

    And because mobile SDK development is a specialty area, there's a specific Community topic area dedicated to it. You may get better focus in the Zendesk Mobile SDKs community area and want to post there with additional details.

    0

Post is closed for comments.

Powered by Zendesk