0.0.5 • Published 5 years ago

capacitor-plugin-kenkou-sdk v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Capacitor Kenkou SDK implementation

npm install capacitor-plugin-kenkou-sdk

Android Setting

  • After build android with capacitor, have to reset some poins as the following steps.

    • Add class in the MainActivity.java
    add(KenkouSDK.class);
    • Add theme.xml in the res/values folder with the following code
    <resources xmlns:tools="http://schemas.android.com/tools">
      <!-- Base application theme. -->
      <style name="Theme.SDKAndroid" parent="Theme.MaterialComponents.Light">
    
          <item name="colorPrimary">#2688E5</item>
          <item name="colorPrimaryVariant">#005cb2</item>
          <item name="colorOnPrimary">#ffffff</item>
    
          <item name="android:colorBackground">#e5e5e5</item>
          <item name="colorOnBackground">#121212</item>
    
          <item name="colorSurface">#ffffff</item>
          <item name="colorOnSurface">#121212</item>
    
          <item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
    
      </style>
    </resources>
    • Change the theme style in the AndroidManifest.xml
    android:theme="@style/Theme.SDKAndroid"
    • Update the build.gradle and gradle-wrapper.properties
    classpath 'com.android.tools.build:gradle:4.1.0'
    
    distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
0.0.5

5 years ago

0.0.3

5 years ago

0.0.4

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago