Skip to content
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

Android Silent Failure #3

Open
aphex opened this issue May 30, 2012 · 1 comment
Open

Android Silent Failure #3

aphex opened this issue May 30, 2012 · 1 comment

Comments

@aphex
Copy link
Contributor

aphex commented May 30, 2012

Hello again :)

Just realized today my app just doesn't run at all on Android. Sat at the "Loading dots" screen and never launched ended up there is a type error that only causes an issue on android, so its all good on iOS. The problem is with Transaction callbacks, they must be the proper type or it will fail (so they must be a function)

After much logging I was able to catch the error FYI it is this error "TypeError: Transaction error callback must be of valid type."

To fix this simply update lines 174 & 179 of SqliteStorage.js

Currently they read:

      }], null, null);

Update them to be

    }], Ext.emptyFn, Ext.emptyFn);

Everything is happy then. You figure out the pull requests yet ;)

@comur
Copy link

comur commented Jun 14, 2013

Hello aphex,

Do you continue to use this plugin with Android ? Is this working well after this modification that you suggested here ?

Thanks for feedback.

Can

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants