Cordova.js changes get overridden on emulate


#1

Hey All,

This might be a newb question, but:

In the emulator, I’m seeing a ton of errors when trying to redirect for Facebook Auth;
Deprecated attempt to access property ‘userAgent’ on a non-Navigator object.

So I found a solution on stackoverflow that says to make some changes to Cordova.js

However, when I run ionic emulate IOS, it seems like my cordova.js file is being overridden and the changes rolled back. Any idea how to prevent this?