Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaelessiet/devshogun-minimize-app
https://github.com/michaelessiet/devshogun-minimize-app
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/michaelessiet/devshogun-minimize-app
- Owner: michaelessiet
- Created: 2023-10-24T21:01:18.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-27T18:17:53.000Z (9 months ago)
- Last Synced: 2024-02-27T19:33:04.436Z (9 months ago)
- Language: Java
- Size: 645 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# devshogun-minimize-app
An Expo module used to Minimize iOS and Android apps
# API documentation
| methods | description | platforms |
| ---------- | -------------------------------------------------------------------------------------- | ------------ |
| `goBack` | Go back to the previous activity, whether it be an app or just the android home screen | Android |
| `minimize` | Minimize the application, taking the user to the devices home screen | iOS, Android |
| `exit` | Completely exit the application | iOS, Android |# Installation in managed Expo projects
For [managed](https://docs.expo.dev/archive/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](#api-documentation). If you follow the link and there is no documentation available then this library is not yet usable within managed projects — it is likely to be included in an upcoming Expo SDK release.
# Installation in bare React Native projects
For bare React Native projects, you must ensure that you have [installed and configured the `expo` package](https://docs.expo.dev/bare/installing-expo-modules/) before continuing.
### Add the package to your npm dependencies
```
npm install devshogun-minimize-app
```### Configure for iOS
Run `npx pod-install` after installing the npm package.
# Contributing
Contributions are very welcome! Please refer to guidelines described in the [contributing guide](https://github.com/expo/expo#contributing).