Geolocation plugin cause Apple rejection



I’m using cordova-plugin-geolocation in my app.
Apple reject the app cause I have “Background Modes > Location updates” under “Capatibilities” section in Xcode.
But if I disable it, my app crash.

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: !stayUp || CLClientIsBackgroundable(internal->fClient)'

Anyone got this error ?

I hope someone help me.

Thanks in advance,