Added declaration for Android success boolean in plugin methods.