Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raczo/cordova-plugin-reverser
A simple Apache Cordova plugin that reverses every other word in a sentence.
https://github.com/raczo/cordova-plugin-reverser
Last synced: 1 day ago
JSON representation
A simple Apache Cordova plugin that reverses every other word in a sentence.
- Host: GitHub
- URL: https://github.com/raczo/cordova-plugin-reverser
- Owner: RacZo
- License: apache-2.0
- Created: 2022-08-02T23:13:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-17T09:29:37.000Z (over 2 years ago)
- Last Synced: 2024-12-21T23:19:01.372Z (27 days ago)
- Language: Objective-C
- Size: 16.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Reverser App and Plugin
This repository contains a simple cordova app and a plugin that reverses every other word of a sentence.
## Plugin
- Name: reverserplugin
- Package: dev.oscarsalguero.reverserplugin
- Folder: reverserplugin### What does this plugin do?
1. Receives user input, a sentence (String) from the app, consisting of a sentence and uses native code in Java for Android or Objective-C for iOS to reverse every other word in that sentence.
2. Returns the processed otput to the app's UI to show it to the user.
## App
Written in HTML, CSS and JavaScript.
1. The app captures user input trough a textarea and sends it to the cordova plugin upon tapping a button.
2. Once a processed output has been retrieved from the plugin, the app displays the output or result received from the plugin in the same textarea it was entered.
Supported platforms:
- Android
- iOS#### Android Details:
- Activity: MainActivity
- Android target: android-30
- Created with: [email protected]
Android App Launcher Icon
Android App UI With Sample Input
Android App Input Reversed By Plugin
#### iOS Details:
- Created with: [email protected]
iOS App Launcher Icon
iOS App UI With Sample Input
iOS App Input Reversed By Plugin
# How To Use
## Cloning This Repository
```
git clone https://github.com/RacZo/cordova-plugin-reverser.git reverser
```The sample app source will be in the root of the repository folder:
```
reverser
```The plugin's source code is in:
```
reverser/reverserplugin
```To add the plugin:
```
cordova plugin add file:./reverserplugin
```To remove the plugin:
```
cordova plugin remove dev.oscarsalguero.reverserplugin
```## Also Available Via NPM
- URL: https://www.npmjs.com/package/reverserplugin