calljmp 0.0.1 copy "calljmp: ^0.0.1" to clipboard
calljmp: ^0.0.1 copied to clipboard

Calljmp SDK for Flutter

Calljmp Flutter SDK #

Secure backend-as-a-service for mobile developers. No API keys. Full SQLite control.

pub version GitHub license Flutter

πŸš€ Overview #

Calljmp is a secure backend designed for mobile developers, providing:

  • βœ… Authentication via App Attestation (iOS) and Play Integrity (Android)
  • βœ… Full SQLite database access (no restrictions, run raw SQL)
  • βœ… Dynamic permissions for users & roles
  • βœ… Flutter SDK for seamless integration

πŸ”Ή Website: calljmp.com
πŸ”Ή Follow: @calljmpdev


πŸ“¦ Installation #

Add the SDK to your pubspec.yaml:

dependencies:
  calljmp: ^latest

Then run:

flutter pub get

πŸ› οΈ Setup & Usage #

1️⃣ Initialize Calljmp #

Import and initialize Calljmp in your Flutter app:

import 'package:calljmp/calljmp.dart';

final calljmp = Calljmp();

2️⃣ Authenticate User #

Authenticate a user with Calljmp:

final user = await calljmp.users.auth.email.authenticate(
  email: "test@email.com",
  name: "Tester",
  password: "password",
  policy: UserAuthenticationPolicy.signInOrCreate,
  tags: ["role:member"],
);

print(user);

3️⃣ Run Direct SQL Queries #

Access your SQLite database without restrictions:

final result = await calljmp.database.query(
  sql: 'SELECT id, email, auth_provider, provider_user_id, tags, created_at FROM users',
);

print(result);

4️⃣ Access service #

If you are deploying your own service, you can access it via the service property.

// ./src/services/main.ts

import { Service } from './service';

const service = Service();

service.get('/hello', async c => {
  return c.json({
    message: 'Hello, world!',
  });
});

export default service;

Then in your Flutter app, you can call the service like this:

// ./lib/main.dart

 final message = await calljmp.service
  .request(route: "/hello")
  .get()
  .json((json) => json['message'] as String);

print(message);

πŸ”’ Security & App Attestation #

Calljmp does not use API keys. Instead, it relies on App Attestation (iOS) and Play Integrity (Android) to verify that only legitimate apps can communicate with the backend.

For more details, check the Apple App Attestations docs and/or Google Play Integrity docs.

πŸ“„ License #

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ’¬ Support & Community #

If you have any questions or feedback: