compass not working while orientation change

i have included phonegap compass api in my app, on orientation change it losses its direction.

I tried to reset it in resize handler, but it doesn't work for me.

Can anybody guide me on this....?

Comments

Sign In or Register to comment.