Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rohitsangwan01/pocketbase_mobile

pocketbase mobile version
https://github.com/rohitsangwan01/pocketbase_mobile

Last synced: 3 months ago
JSON representation

pocketbase mobile version

Awesome Lists containing this project

README

        

# Pocketbase Mobile

Pocketbase mobile is used to generate android and ios packages for using pocketbase in mobiles

## To build

Make sure [gomobile](https://pkg.go.dev/golang.org/x/mobile/cmd/gomobile) is installed

run : `gomobile bind -androidapi 19` for Android, this will generate `pocketbaseMobile.aar`, import this in android and use

run : `gomobile bind --target ios` for IOS or try : `gomobile bind -ldflags='-extldflags=-libresolv.tbd' -target=ios`

# Usage

[pocketbase_server_flutter](https://github.com/rohitsangwan01/pocketbase_server_flutter) to use in Flutter

[pocketbase_android](https://github.com/rohitsangwan01/pocketbase_android) to use in native Android

[pocketbase_ios](https://github.com/rohitsangwan01/pocketbase_ios) to use in native IOS

# Examples

checkout [Pocketbase Server Flutter](https://github.com/rohitsangwan01/pocketbase_server_flutter) for android and ios implementation in flutter






checkout [Pocketbase Server Android](https://github.com/rohitsangwan01/pocketbase_server_android_example) for native android implementation


# Usecase

- To create a secure localChat server or maybe a file storage system or anything which provided by pocketBase
- To use an old android device as local server to host PocketBase
- To use a mobile app which is based on PocketBase, so we can simply run PocketBase server within mobile and show demo of our application, useful for someone who don't want to host pocketBase yet
- To use Pocketbase as a College project,and for students team who want to show demo of a mobile app but can't afford hosting or something , so all they have to do is , run pocketBase server from there mobile and their main app which is based on pocketBase is ready to use

# Extras

Checkout a Flutter chatApp built using pocketbase: [flutter_pocketbase_chat](https://github.com/rohitsangwan01/flutter_pocketbase_chat)