Ionic ios9 issues

Yes.
there are basically two errors there.
one is the Dom Exception 12
the other is the keyboard undefined

the keyboard one is easy, just need to update ionic keyboard and include in config.xml

the DOM Exception 12 is the most bullshit one. ultimately i figured it out from reading:
http://www.ekreative.com/blog/adapting-my-ionic-framework-hybrid-mobile-app-for-ios-9-problems-and-solutions/455-adapting-my-ionic-framework-hybrid-mobile-app-for-ios-9-problems-and-solutions

and

so i ended up changing the helper function i have to set the token to:

    if (token.length > 1)
        $http.defaults.headers.common.Authorization = 'Token ' + token;
    else
        $http.defaults.headers.common.Authorization = null;

and now is working.

1 Like