Comments (7)
> Task :byteowls-capacitor-filesharer:compileReleaseJavaWithJavac
Note: /Users/xxx/Code/foobar/app/node_modules/@byteowls/capacitor-filesharer/android/src/main/java/com/byteowls/capacitor/filesharer/ConfigUtils.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
from capacitor-filesharer.
This is just a warning. Don't worry about it.
Please share your versions (Cap, Android, Plugin) and your plugin config.
from capacitor-filesharer.
What is the correct plugin config?
What dependency to use in build.gradle for the capacitor-android version? Think that's the issue here @moberwasserlechner
from capacitor-filesharer.
Then please share your build.gradle and your version of Capacitor. I'm not able to help if you donot provide that information.
from capacitor-filesharer.
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "foo.bar.foo"
minSdkVersion 21
targetSdkVersion 28
versionCode 6
versionName "1.0.2"
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
repositories {
maven {
url "https://dl.bintray.com/ionic-team/capacitor"
}
flatDir{
dirs '../capacitor-cordova-android-plugins/src/main/libs', 'libs'
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'ionic-team:capacitor-android:1.0.0-beta.17'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation project(':capacitor-cordova-android-plugins')
}
apply from: 'capacitor.build.gradle'
try {
def servicesJSON = file('google-services.json')
if (servicesJSON.text) {
apply plugin: 'com.google.gms.google-services'
}
} catch(Exception e) {
logger.warn("google-services.json not found, google-services plugin not applied. Push Notifications won't work")
}
from capacitor-filesharer.
So you're using Capacitor beta17 but the plugin needs at least 1.0.0. See readme.
Please look at a current Capacitor project and upgrade. You need to remove at least mplementation 'ionic-team:capacitor-android:1.0.0-beta.17'
. But upgrading your app is out of scope.
from capacitor-filesharer.
It seems that the issue was not related to the plugin. Plugin needs Capacitor 1.0.0+.
from capacitor-filesharer.
Related Issues (20)
- Upgrade to Capacitor 2.0.0
- Bug: iOS: Preview panel showing up for PDF instead of the "Share" modal HOT 16
- Bug: NullPointerException in "handleOnActivityResult" HOT 2
- Can we share some text along with file . HOT 3
- Can we share a file directly and not as a base64Data ?? HOT 2
- The code skips whatever is written after ''Filereader.onloadend = " HOT 6
- Bug: App crashes upon sharing file on whatsapp HOT 12
- package com.byteowls.capacitor.filesharer.FileSharerPlugin does not exist HOT 2
- Feat: Filesharer@next for Capacitor 3.0.0 HOT 4
- Testing on Physical Device - no error, no share menu HOT 4
- Bug: Permission Denial: reading com.byteowls.capacitor.filesharer.FileSharerProvider uri content://io.ionic.starter.filesharer.fileprovider/capfilesharer/test.pdf from pid=14879, uid=1000 requires the provider be exported, or grantUriPermission() HOT 5
- Feat: Can you share a text, json or csv file? HOT 2
- Feat: Replace file-sharer dependency for file-sharer-es in order to reduce bundle size HOT 2
- Bug: 23 MB pdf (limit seems to be 10 MB) causes Java error with very little trace info HOT 3
- Android: app crash after sharing HOT 3
- how to set language for app HOT 2
- No save or download file option on Android HOT 1
- Bug: Instagram won't appear in the share dialog for my app, but will appear for other apps with the same file HOT 1
- Error when sharing images on Android HOT 1
- Bug: Writing exception to parcel on Android
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capacitor-filesharer.