Error in IOS when ionic is saved to the gallery plug-in error: method ‘requestauthorization:’ not defined in plugin ‘photolibrary’ error: method ‘xxx’ not defined in plugin
In IOS, when saving pictures to mobile photo album, the error is as follows
ERROR: Method 'requestAuthorization:' not defined in Plugin 'PhotoLibrary'
FAILED pluginJSON = ["PhotoLibrary815393554","PhotoLibrary","requestAuthorization",[{"write":true,"read":true}]]
resolvent
cordova plugin rm cordova-plugin-photo-library
cordova plugin add https://github.com/nilebma/cordova-plugin-photo-library.git
Due to GitHub network problems, you can use the following command
npm install --save @ionic-native/photo-library
cordova plugin add https://gitee.com/liuzhuo8081/cordova-plugin-photo-library.git
Read More:
- [Solved] Ubuntu pyinstaller Error when packaging executable file: … qt.qpa.plugin: Could not find the Qt platform plugin “xcb“ in “…
- [Solved] NameError: name ‘reload’ is not defined on ROS melody terminal
- [Solved] error LNK2005: ___pInvalidArgHandler Already defined in libcmtd.lib(invarg.obj)
- Linux accesses the shared directory of windows, pysmb (parameter remote)_Name (defined)
- [Solved] Fatal error LNK1169: one or more multiple defined symbols were found
- PM2 user defined Log, PID and other Log File Locations
- You might want to save ‘/run/in itramf s/rdsosreport.txt“ to a USB stick or bootaf ter mounting
- [Solved] websocket error in Linux service: / lib64 / libc. So. 6: version ` glibc_2.17‘ not found
- [Solved] websocket: the client is not using the websocket protocol: ‘upgrade’ token not found in ‘Connection’ head
- Solution of device eth0 does not see to be present, delaying initialization. Error in network card under Linux
- Error in Linux running file: bash: $’\r’: command not found
- Centos8 Could not restart the Network: Failed to restart network.service: Unit network.service not found
- Docker Error: error invoking remote method ‘docker-start-container‘: error: (http code 500) server error –
- [Solved] zookeeper Cluster error: Error: JAVA_HOME is not set and java could not be found in PATH.
- [Solved] ERROR: Subproject directory not found and gst-plugins-base.wrap file not found
- [Solved] UnicodeEncodeError: ‘ascii‘ codec can‘t encode characters in position 3-9: ordinal not in range(128)
- [Solved] Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to
- [Solved] Snap Error: snap-confine has elevated permissions and is not confined but should be. Refusing to continue
- [Solved] Keepalived Configurate Error: Unicast peers are not supported in strict mode
- Solve the problem of 404 Not Found error in nginx accessing dynamic interface