The Android implementation seem to work now. Finally!