diff --git a/.gitignore b/.gitignore index 5c26597..36d09ad 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .DS_Store - +ios/iphone/*.zip +android/android/dist/*.zip phobeous-build.properties diff --git a/android/android/java-sources.txt b/android/android/java-sources.txt index 780ef25..828da9f 100644 --- a/android/android/java-sources.txt +++ b/android/android/java-sources.txt @@ -1,15 +1,16 @@ -"/Volumes/Data/Development/Appcelerator/Modules/av.imageview/android/android/src/av/imageview/AVImageView.java" -"/Volumes/Data/Development/Appcelerator/Modules/av.imageview/android/android/src/av/imageview/ImageViewModule.java" -"/Volumes/Data/Development/Appcelerator/Modules/av.imageview/android/android/src/av/imageview/ImageViewProxy.java" -"/Volumes/Data/Development/Appcelerator/Modules/av.imageview/android/android/src/av/imageview/utils/ImageLoader.java" -"/Volumes/Data/Development/Appcelerator/Modules/av.imageview/android/android/src/av/imageview/utils/glide/GlideCircleTransform.java" -"/Volumes/Data/Development/Appcelerator/Modules/av.imageview/android/android/src/av/imageview/utils/glide/GlideConfiguration.java" -"/Volumes/Data/Development/Appcelerator/Modules/av.imageview/android/android/src/av/imageview/utils/glide/GlideUrlBuilder.java" -"/Volumes/Data/Development/Appcelerator/Modules/av.imageview/android/android/src/av/imageview/utils/glide/StreamModelLoaderWrapper.java" -"/Volumes/Data/Development/Appcelerator/Modules/av.imageview/android/android/build/generated/java/av/imageview/ImageviewAndroidBootstrap.java" -"/Volumes/Data/Development/Appcelerator/Modules/av.imageview/android/android/build/generated/r/android/support/compat/R.java" -"/Volumes/Data/Development/Appcelerator/Modules/av.imageview/android/android/build/generated/r/android/support/design/R.java" -"/Volumes/Data/Development/Appcelerator/Modules/av.imageview/android/android/build/generated/r/android/support/v7/appcompat/R.java" -"/Volumes/Data/Development/Appcelerator/Modules/av.imageview/android/android/build/generated/r/android/support/v7/cardview/R.java" -"/Volumes/Data/Development/Appcelerator/Modules/av.imageview/android/android/build/generated/r/av/imageview/R.java" -"/Volumes/Data/Development/Appcelerator/Modules/av.imageview/android/android/build/generated/r/ti/modules/titanium/ui/R.java" \ No newline at end of file +"/Users/andrea/Sviluppo/Titanium/Modules/av.imageview/android/android/src/av/imageview/AVImageView.java" +"/Users/andrea/Sviluppo/Titanium/Modules/av.imageview/android/android/src/av/imageview/ImageViewModule.java" +"/Users/andrea/Sviluppo/Titanium/Modules/av.imageview/android/android/src/av/imageview/ImageViewProxy.java" +"/Users/andrea/Sviluppo/Titanium/Modules/av.imageview/android/android/src/av/imageview/utils/CookiesHelper.java" +"/Users/andrea/Sviluppo/Titanium/Modules/av.imageview/android/android/src/av/imageview/utils/ImageLoader.java" +"/Users/andrea/Sviluppo/Titanium/Modules/av.imageview/android/android/src/av/imageview/utils/glide/GlideCircleTransform.java" +"/Users/andrea/Sviluppo/Titanium/Modules/av.imageview/android/android/src/av/imageview/utils/glide/GlideConfiguration.java" +"/Users/andrea/Sviluppo/Titanium/Modules/av.imageview/android/android/src/av/imageview/utils/glide/GlideUrlBuilder.java" +"/Users/andrea/Sviluppo/Titanium/Modules/av.imageview/android/android/src/av/imageview/utils/glide/StreamModelLoaderWrapper.java" +"/Users/andrea/Sviluppo/Titanium/Modules/av.imageview/android/android/build/generated/java/av/imageview/ImageviewAndroidBootstrap.java" +"/Users/andrea/Sviluppo/Titanium/Modules/av.imageview/android/android/build/generated/r/android/support/compat/R.java" +"/Users/andrea/Sviluppo/Titanium/Modules/av.imageview/android/android/build/generated/r/android/support/design/R.java" +"/Users/andrea/Sviluppo/Titanium/Modules/av.imageview/android/android/build/generated/r/android/support/v7/appcompat/R.java" +"/Users/andrea/Sviluppo/Titanium/Modules/av.imageview/android/android/build/generated/r/android/support/v7/cardview/R.java" +"/Users/andrea/Sviluppo/Titanium/Modules/av.imageview/android/android/build/generated/r/av/imageview/R.java" +"/Users/andrea/Sviluppo/Titanium/Modules/av.imageview/android/android/build/generated/r/ti/modules/titanium/ui/R.java" \ No newline at end of file diff --git a/android/android/libs/arm64-v8a/libav.imageview.so b/android/android/libs/arm64-v8a/libav.imageview.so new file mode 100644 index 0000000..a35c336 Binary files /dev/null and b/android/android/libs/arm64-v8a/libav.imageview.so differ diff --git a/android/android/libs/armeabi-v7a/libav.imageview.so b/android/android/libs/armeabi-v7a/libav.imageview.so index d3671a6..2ea16a6 100644 Binary files a/android/android/libs/armeabi-v7a/libav.imageview.so and b/android/android/libs/armeabi-v7a/libav.imageview.so differ diff --git a/android/android/libs/x86/libav.imageview.so b/android/android/libs/x86/libav.imageview.so index 7eed342..8c48f23 100644 Binary files a/android/android/libs/x86/libav.imageview.so and b/android/android/libs/x86/libav.imageview.so differ diff --git a/android/android/manifest b/android/android/manifest index 7fd2381..85c6fb7 100644 --- a/android/android/manifest +++ b/android/android/manifest @@ -2,7 +2,7 @@ # this is your module manifest and used by Titanium # during compilation, packaging, distribution, etc. # -version: 3.1.1 +version: 4.0.0 apiversion: 4 architectures: arm64-v8a armeabi-v7a x86 description: av.imageview diff --git a/android/android/src/av/imageview/utils/CookiesHelper.java b/android/android/src/av/imageview/utils/CookiesHelper.java index bff3d0a..8a32b70 100644 --- a/android/android/src/av/imageview/utils/CookiesHelper.java +++ b/android/android/src/av/imageview/utils/CookiesHelper.java @@ -40,7 +40,9 @@ public static String getCookiesStringForURL(String urlString) } else { - Log.d(LCAT, "No cookie found for " + urlString); + if (Log.isDebugModeEnabled()) { + Log.d(LCAT, "No cookie found for " + urlString); + } return null; } } @@ -56,7 +58,10 @@ private static HttpCookie[] getHTTPCookiesForURL(String urlString) throws Except URL url = new URL(urlString); String domain = url.getHost(); String path = url.getPath(); - Log.d(LCAT, "Getting HTTP Cookies for " + domain); + + if (Log.isDebugModeEnabled()) { + Log.d(LCAT, "Getting HTTP Cookies for " + domain); + } if (domain == null || domain.length() == 0) { if (Log.isDebugModeEnabled()) { diff --git a/ios/example/app.js b/ios/example/app.js index b659315..ebcc6e1 100644 --- a/ios/example/app.js +++ b/ios/example/app.js @@ -42,7 +42,7 @@ var default_template = { contentMode: AvImageview.CONTENT_MODE_ASPECT_FILL, requestHeader: { 'Authorization': "Bearer YOU_CAN_PLACE_YOUR_ACCESS_TOKEN_HERE" - }. + }, timeout: 2500 } }]