Skip to content

Commit

Permalink
fix white screen issue in android
Browse files Browse the repository at this point in the history
  • Loading branch information
Tien Nguyen authored and Tien Nguyen committed Jun 19, 2020
1 parent bd9cd21 commit 7bc99fb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-photo-library-wkwebview",
"version": "3.0.2",
"version": "3.0.3",
"description": "Plugin that just gets photos from the gallery",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-photo-library-wkwebview"
version="3.0.2" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
version="3.0.3" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>Photo Library</name>
<platform name="android">
<js-module src="www/PhotoLibrary.android.js" name="PhotoLibrary">
Expand Down
2 changes: 1 addition & 1 deletion src/browser/PhotoLibraryProxy.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Assume browser supports lambdas

var async = cordova.require('cordova-plugin-photo-library.async');
var async = cordova.require('cordova-plugin-photo-library-wkwebview.async');

var photoLibraryProxy = {

Expand Down
2 changes: 1 addition & 1 deletion www/PhotoLibrary.android.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var exec = require('cordova/exec');

var async = cordova.require('cordova-plugin-photo-library.async');
var async = cordova.require('cordova-plugin-photo-library-wkwebview.async');

var defaultThumbnailWidth = 512; // optimal for android
var defaultThumbnailHeight = 384; // optimal for android
Expand Down
2 changes: 1 addition & 1 deletion www/PhotoLibrary.ios.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var exec = require('cordova/exec');

// var async = cordova.require('cordova-plugin-photo-library.async');
// var async = cordova.require('cordova-plugin-photo-library-wkwebview.async');

var defaultThumbnailWidth = 512; // optimal for android
var defaultThumbnailHeight = 384; // optimal for android
Expand Down

0 comments on commit 7bc99fb

Please sign in to comment.