@opacity-labs/capacitor-opacity
TypeScript icon, indicating that this package has built-in type declarations

4.0.14 • Public • Published

capacitor-opacity

Opacity SDK for CapacitorJS

Install

npm install capacitor-opacity
npx cap sync

Android

You need to modify your project root gradle to include jitpack.io and mozilla's maven repos:

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {

    repositories {
        google()
        mavenCentral()
        maven { url "https://maven.mozilla.org/maven2/" } // ADD THIS
        maven { url 'https://jitpack.io' } // ADD THIS
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:8.7.2'
        classpath 'com.google.gms:google-services:4.4.2'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

apply from: "variables.gradle"

allprojects {
    repositories {
        google()
        mavenCentral()
        maven { url "https://maven.mozilla.org/maven2/" } // ADD THIS
        maven { url 'https://jitpack.io' } // ADD THIS
    }
}

Bump the minSdk version to 25, in variables.gradle:

ext {
    minSdkVersion = 25
    ...
}

Readme

Keywords

Package Sidebar

Install

npm i @opacity-labs/capacitor-opacity

Weekly Downloads

13

Version

4.0.14

License

MIT

Unpacked Size

13.6 kB

Total Files

11

Last publish

Collaborators

  • opacitylabs
  • ospfranco