Comments (1)
Please, don't use github issues to ask questions, just to report issues.
You can ask questions on the Ionic Forums or on the discussions section of capacitor repository
We recommend creating a plugin and having separate native code for iOS and Android, they are different OS and it's usually not possible to create a common library that works fine on both since they both behave differently. Unless the library won't be accessing the phones hardware and only do custom business logic.
In that case maybe creating a C/C++ .so library, you should be able to use that on both iOS and Android. But you will still need some native Swift/Java/kotlin in your plugin to wrap the web code calls around the library methods.
Closing as this is not an issue but a question.
from capacitor.
Related Issues (20)
- [Feature]: Provide an iOS privacy manifest compliant version of the device plugin HOT 2
- CapacitorHttp plugin is not accepting Formdata for image upload[Bug]: HOT 8
- [Bug]: Focus is reset to the first focus element when put the focus by physical keyboard and rotate the screen HOT 1
- [Bug]: Focus is reset to the first focus element when put the focus by physical keyboard and rotate the screen HOT 1
- [Bug]: @capacitor/google-maps "Error calling method create on plugin CapacitorGoogleMaps: No method found." on iOS HOT 10
- [Feature]: how to do ssl pinning? HOT 4
- [Feature]: How to output logs HOT 1
- [Bug]: was capacitor team has decrease develops or got a layoff in past,seems alot of bugs not have a good resolve,just close it via bot HOT 6
- WSL - ERR_EMULATOR_HOME_NOT_FOUND: No valid Android Emulator home found HOT 2
- [Bug]: Error Registering Plugins HOT 2
- [Bug]: QR code parse error, error = R: No MultiFormat Readers were able to detect the code. HOT 1
- [Feature]: Error Handling with nonexistent files and @capacitor/filesystem HOT 1
- [Feature]: Change JSObject from "is" to "has" to allow type security for those who want it
- [Bug]: JS does not get injected into DOM if appUrl contains query parameter HOT 2
- [Bug]: HOT 4
- [Bug]: Percent-encoding of url search parameters broken for patched fetch / xhr requests through CapacitorHttp HOT 1
- [Feature]: Add geolocation EXIF data to images captured with the camera HOT 5
- [Bug]: multipart/form-data values are not encoded on Android HOT 1
- [Feature]: "AppLeave" Event HOT 4
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.