Kotlin Multiplatform project for password generation and validation
To make kotlin multiplatform work for iOS and macOS, the cocoaPods approach was followed, as opposed to the connection the app manually .
To show how a language/platform can integrate with a kotlin multi-platform library, some examples are available in the examples directory
For local development to work smoothly, especially with the Cocoapods integration , the following is needed:
- Install the CocoaPods dependency manager:
$ sudo gem install cocoapods- Install the cocoapods-generate plugin:
$ sudo gem install cocoapods-generateImporting the project, and running a build (./gradlew build) should create a PassGarble.podspec file.
- There's a
dev.petuska.npm.publishplugin that should assist in publishing to npm, but it's not working (yet) - For now: run
$ ./gradlew publishJsNpmPublicationToNpmJs- Navigate to
build/publications/npm/js - Run
npm install - Publish:
npm publish --access public. The--accessflag is necessary.