Create an Ionic Plugin not with Native Java code - angularjs

Hi I've developed one plugin for Emojis in Ionic that I want should be available to everyone.
But After searching on internet, the creation of Ionic plugin I got posts like making native code of Java to Cordova and Ionic capable.
I have pure JS code in my Ionic project. I tried to find but didn't get any success.
Any help will be appreciated.
Thanks

Related

React native web support

I have project in react native and it was build in iOS and android successfully. I have not used react native cli for that project. Now I have to give support for web. So when I run the app all functionality should work in web same as in iOS and android. I have follow tutorial for that
https://javascript.plainenglish.io/how-to-integrate-react-native-web-existing-react-native-apps-8e4964ad2f0b
But when I run in the web it getting blank page.
I have tried many ways but it getting blank page. It is possible to run the app in web without using expo?
Please help.
if you don't want to use expo, i suggest you to use this react-native-web

React JS into Eclipse IDE

I'm new to React JS and trying to use in my front end design. Using Eclipse IDE,I would like to integrate React JS into my existing web application. Is it enough to add Jars associated with React into WEB-INF/lib and proceed?
Your help and time is much appreciated.
Thanks
Another approach could be using something lightweight like VSCODE with create-react-app. Once you build the project you'll load it into your existing project as a singular widget.

Eclipse & angularjs validation error: Unexpected token for import and export

I started to learn angular.js and build the hello world app according to the official angular site.
I'm working with Spring Tool Suite 3.8.4 and installed the AngularJS Eclipse 1.2.0 plugin and the test project was working fine without any validation errors.
After finishing this tutorial I made a git clone from this demo application, did all the installation steps, imported it as a project into Eclipse and configured it as an angular project (nature).
After all validation was done Eclipse showed me about 2500 errors with the message Unexpected token. I opened some files and it seems that the import and export keyword isn't recognized properly.
As the hello world app uses also these keywords and didn't have any validation errors I assume the reason could be a configuration problem. If i compare them in my project explorer i was wondering why in my hello world app was only a folder "TypeScript Resources (2.2.2)" and in this imported project there is also one folder/lib called "Javascript Resources". Might be ok, just something i noticed.
As im totally new to angular I have no clue what I could check. I read that the angular js support for the Eclipse IDE isn't perfect but these articles have been partly outdated as they were using Angular 1.x and 2.x.
Running the application with npm start in a terminal or "Run as" ==> ng serve" works fine without any problem.
Both applications (hello world and the cloned one) use Angular 4.x.
Does anybody have an idea? Do I need to provide more information?
At first just to clarify things, you have installed Angular2 Eclipse which is for Angular2, Angular4 and where you develop with TypeScript. AngularJS Eclipse is for Angular1 where you develop with JavaScript.
You error is a JavaScript Problem which comes from the JSDT plugins. It seems that you have added JSDT nature. I suggest you to remove JSDT nature from your project because you develop with TypeScript and not with JavaScript.
To do that you can edit your .project file and remove this line:
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
If you need to open JavaScript file in an editor with validation, completion, etc, TypeScript IDE provide a JavaScript (Salsa) Editor which does that. You open your JS file with JavaScript (Salsa) Editor:
and after you benefit from the same feature than TypeScript editor:

Apptentive cordova plugin

Hello i have a need for a Apptentive cordova plugin that supports iOS and Android.
I have found this https://github.com/mcfarljw/cordova-plugin-apptentive plugin but it only supports android.
Does anyone know how can I go about implementing Apptentive support chat for iOS and Android?
Maybe someone can point me to an existing cordova plugin?
My app is written using AngularJS and Ionic.
Thanks a lot.
we've released a Cordova plugin for Apptentive here:
https://github.com/apptentive/apptentive-cordova
Please let us know how the plugin works for you. If you hit any issues, we'd love to hear!
support#apptentive.com
Thanks for using Apptentive!

Can you used ng-Cordova with the PhoneGap Build service?

I am building a hybrid mobile app using the Ionic Framework library (including Angular JS) and have found that they've made a wrapper for a number of the cordova plugins so that they work with Angular.
I have downloaded the ng-cordova.js file and referenced it in my index.html
As as test I have used the cordova device plugin just to display the device name in a popup. It works fine in the ripple emulator just running the html in my browser, however when I build the app using Phonegap Build it no longer works.
Is it not possible to use the ng-cordova.js file to access native device features when using Phonegap Build? (i.e. Can you literally only use the plugins from the list on the build website?)
As another user of PhoneGap Build, you are limited to whatever plugins can be found here:
https://build.phonegap.com/plugins
That being said, if the plugin is not in their repository already (most of the popular ones are), you can always submit it yourself or try to get the author to submit it.
Other than that, it should work fine.
This is ngCordova contributor.
It should be possible to use ngCordova with PhoneGap, but are you using the same plugins repos as they are mentioned in ngCordova documentation?
I can imagine that PhoneGap plugins my have different API than Cordova plugins.
And what is here the reason to use PhoneGap Build, if I may ask?
Can you specify which plugins are not working and how could I simply replicate your errors?

Resources