Tabgroup Problem

You must Login before you can answer or comment on any questions.

I have two tab bar in my app.. One for logged in user and other for not looged in user. When user first time login second tab bar is opening correlcty, The problem occurs when i am creating a logout button and opening the earlier tab bar again. It crahes app in android. Please suggest the cause. Its working fine for iphone

— asked 3 years ago by Gaurav Sood
  • post your code ,it will help to identify your mistake

    — commented 3 years ago by Muhammad Adnan

  • Two Tab Goups //APP.mainTabGroupNotLogged; //APP.mainTabGroup; initially;
    login.addEventListener('click',function(e) {
      ; // success
    logout.addEventListener('click',function(e) {
                APP.mainTabGroup.close(); // crash  
      ; // crash
    login and logout are buttons

    — commented 3 years ago by Gaurav Sood

  • Hi, Gaurav can you confirm one thing.

    just close the main Tab group. i mean execute this code only:-

    logout.addEventListener('click',function(e) {
    does it still crashes the app?

    — commented 3 years ago by Ashish Nigam

  • Show 3 more comments

1 Answer

Your Answer

Think you can help? Login to answer this question!