This is useful for debugging, but when I am ready to deploy my application to the masses, it is really bad in terms of security. It basically means Anyone can immediately see the inside of my application.
Is there any way in Phonegap to disable this type of debugging?
Thank you!
Of course, this does not mean that your code is hidden. You The javascript is still stored on the device, and it is determined that the user can find another way to access it. For example, the user on the jailbroken device has full access to the file system and can view the inside of the App’s container.
I created an iOS application using PhoneGap, and I learned that it is easy to connect an iPhone to a Mac, enable Safari debugging on the iPhone, and then use Safari on the Mac to view all the HTML and JavaScript of the application.
This is useful for debugging, but when I am ready to deploy my application to the masses, it is really bad in terms of security. It basically means that anyone can See the inside of my application immediately.
Is there any way to disable this type of debugging in Phonegap?
Thank you!
This only applies because get-task-allow authorization is enabled for development builds. The distribution configuration file does not include this right, so the debugger cannot be attached to The app downloaded from the store. So you don’t have to worry about this.
Of course, this doesn’t mean your code is hidden. Your javascript is still stored on the device and make sure the user can Find another way to access it. For example, users on jailbroken devices can have full access to the file system and can view the inside of the App’s container.