Permalink
Browse files

Mobile vcx (#293)

* [CO-1313] - Changed the version, summary, homepage, description and source

* [CO-1313] - Changed the source to use ssh keys to authenticate

* Update ConnectMeVCX.podspec.json

* [CO-1313] - Adding a simple hello world example code.

* Update ConnectMeVCX.podspec.json

* Update ConnectMeVCX.podspec.json

* Fixed warnings in demo tests and update api docs (#249)

* updated documentation for rust api

* fixed warnings and compile errors with the demo tests

* updated api documentation

* fixed api docs and got test working

* updated version

* updated jenkins libindy version

* updated jenkins libindy version

* added zmq dep.

* update jenkins file to no-cache

* changed libindy docker file to 1.3.1 and added self_attested test

* updated libindy repo in docker file

* added libzmq5 to docker file

* took out extra dependencies

* added all dependencies that other docker file had

* [CO-1313] - Changed the version number to 0.0.2 and other automated changes from doing a podinstall, changed the path to the LICENSE file and to the source_files

* [CO-1313] - Trying a different source_files path

* [CO-1313] - Removed the ReplaceMe.m file and renamed it to HelloWorld.m

* [CO-1313] - Added a file called HelloWorld.m and removed the ReplaceMe.m

* [CO-1313] - Finally the source_files path seems to be correct

* [CO-1313] - The name of the spec is vcx and so adding a pod spec of that name

* [CO-1313] - Removed the placeholder file and added the vcx.podspec.json file

* [Update] vcx (0.0.2)

* [Fix] vcx (0.0.2)

* [CO-1313] - Changed the path to the Assets and removed the unneeded Podfile

* added init interface with example code

* small update

* added spec file for 0.0.4

* Took out installs from libindy docker file (#252)

* updated documentation for rust api

* fixed warnings and compile errors with the demo tests

* updated api documentation

* fixed api docs and got test working

* updated version

* updated jenkins libindy version

* updated jenkins libindy version

* added zmq dep.

* update jenkins file to no-cache

* changed libindy docker file to 1.3.1 and added self_attested test

* updated libindy repo in docker file

* added libzmq5 to docker file

* took out extra dependencies

* added all dependencies that other docker file had

* took out unused docker commands from libindy docker file

* [CO-1313] - Changes to make the pod depend on a vendor library so that the mobile app does not need to

* [CO-1313] - Updating the podspec to version 0.0.5

* [CO-1313] - Adding in a placeholder libvcx.a file since the real libvcx.a file is way to large for github to accept it.

* Libindy refactor (#254)

* Updates rust version to 1.25 (#248)

* EN-566 - vcx_init_with_config (#251)

* EN-566 - vcx_init_with_config

* workaround for annoying rusqlite problem that only happens in tests

* EN-535 - enable vcx_shutdown() for clearing out configuration (#253)

* API calls to disclosed proof for retrieving credentials and generating a proof (#255)

* updated documentation for rust api

* fixed warnings and compile errors with the demo tests

* updated api documentation

* fixed api docs and got test working

* updated version

* updated jenkins libindy version

* updated jenkins libindy version

* added zmq dep.

* update jenkins file to no-cache

* changed libindy docker file to 1.3.1 and added self_attested test

* updated libindy repo in docker file

* added libzmq5 to docker file

* took out extra dependencies

* added all dependencies that other docker file had

* took out unused docker commands from libindy docker file

* update credentials in wallet to use main master secret.
Have generate_proof working. Need to expose with api

* added api to disclosed_proof for retrieving credentials and for generating a proof

* fixed lint issued in node wrapper

* Add api call to retrieve cred def id (#256)

* updated documentation for rust api

* fixed warnings and compile errors with the demo tests

* updated api documentation

* fixed api docs and got test working

* updated version

* updated jenkins libindy version

* updated jenkins libindy version

* added zmq dep.

* update jenkins file to no-cache

* changed libindy docker file to 1.3.1 and added self_attested test

* updated libindy repo in docker file

* added libzmq5 to docker file

* took out extra dependencies

* added all dependencies that other docker file had

* took out unused docker commands from libindy docker file

* update credentials in wallet to use main master secret.
Have generate_proof working. Need to expose with api

* added api to disclosed_proof for retrieving credentials and for generating a proof

* fixed lint issued in node wrapper

* added api to retrieve cred_def_id

* fixed info messaged and added get_cred_def_id to header file

* merge from master (#258)

* Updates rust version to 1.25 (#248)

* EN-566 - vcx_init_with_config (#251)

* EN-566 - vcx_init_with_config

* workaround for annoying rusqlite problem that only happens in tests

* EN-535 - enable vcx_shutdown() for clearing out configuration (#253)

* refactor *release to always return success (log failures) (#257)

* Macos build (#259)

* [CO-1313] - Scripts to build the libindy.dylib and libvcx.dylib on a mac osx machine

* [CO-1313] - With these steps the building of the libvcx.dylib is successful and the running of the tests with cargo test is successful each time. It is reproducible.

* [CO-1313] - With these steps the building of the libvcx.dylib is successful and the running of the tests with cargo test is successful each time. It is reproducible.

* [CO-1313] - Beginning the android and iOS library integrations for the ConnectMe mobile app on iOS and android.

* [CO-1313] - Beginning the android and iOS library integrations for the ConnectMe mobile app on iOS and android.

* [CO-1313] - Moving the macos build scripts to a folder called build_scripts/macos

* [CO-1313] - Added the -f flag on the ln command so that the soft link will be removed and restablished

* [CO-1313] - Changed the build scripts to build for iOS but also have the macos build steps commented out

* [CO-1313] - Moved the temporary build location to a hidden folder at the root of the project called .macosbuild

* [CO-1313] - Added a shared function that will resolve the relative paths in the scripts

* [CO-1313] - Added the backtrace export environment variable to get more insight into why the build is failing

* [CO-1313] - Modifications that will build the libvcx.a file for iOS on all of the different architectures

* [CO-1313] - Scripts to build the libindy.dylib and libvcx.dylib on a mac osx machine

* [CO-1313] - With these steps the building of the libvcx.dylib is successful and the running of the tests with cargo test is successful each time. It is reproducible.

* [CO-1313] - Moving the macos build scripts to a folder called build_scripts/macos

* [CO-1313] - Added the -f flag on the ln command so that the soft link will be removed and restablished

* [CO-1313] - Changed the build scripts to build for iOS but also have the macos build steps commented out

* [CO-1313] - Moved the temporary build location to a hidden folder at the root of the project called .macosbuild

* [CO-1313] - Added a shared function that will resolve the relative paths in the scripts

* [CO-1313] - Added the backtrace export environment variable to get more insight into why the build is failing

* [CO-1313] - Modifications that will build the libvcx.a file for iOS on all of the different architectures

* refactor settings to remove default values (#261)

* [CO-1313] - Added a script to find the native dependencies that need to be built for iOS

* [CO-1313] - An iOS phone project to show how to use libvcx to call into the libindy functions

* [CO-1313] - Added some code from the indy-sdk for handling callbacks

* [CO-1313] - The call to vcx_agent_provision_async is being made and the call to vcx_init is being made

* [CO-1313] - The vcx_agent_provision_async function is being called but it errors out on the get_wallet_credentials call

* [CO-1313] - Added the UIFileSharingEnabled flag to the ios-demo-vcx mobile app

* [CO-1313] - Just timestamp changes

* [CO-1313] - Added a script to find the native dependencies that need to be built for iOS (#262)

* [CO-1313] - Moved the line of code to convert the const char *const to an NSString* inside the if completion check.

* made chenges to debug the rust code

* debuging agent provision api changes

* [CO-1313] - Add a script to copy out the build .a files into the lib folder of the ios demo iphone app

* [CO-1383] - Added the android folder where we can begin to put the scripts for creating a libvcx library for android

* [CO-1313] - Scripts to combine all of the libraries into one libvcx_all.a static library file.

* [CO-1313] - Scripts to combine all of the libraries into one libvcxall.a static library file.

* [CO-1313] - Xcode project changes to use one big libvcx.a and to link it correctly

* Add feature to tests that use pool (#263)

* updated documentation for rust api

* fixed warnings and compile errors with the demo tests

* updated api documentation

* fixed api docs and got test working

* updated version

* updated jenkins libindy version

* updated jenkins libindy version

* added zmq dep.

* update jenkins file to no-cache

* changed libindy docker file to 1.3.1 and added self_attested test

* updated libindy repo in docker file

* added libzmq5 to docker file

* took out extra dependencies

* added all dependencies that other docker file had

* took out unused docker commands from libindy docker file

* update credentials in wallet to use main master secret.
Have generate_proof working. Need to expose with api

* added api to disclosed_proof for retrieving credentials and for generating a proof

* fixed lint issued in node wrapper

* added api to retrieve cred_def_id

* fixed info messaged and added get_cred_def_id to header file

* added feature called pool_tests to tests that depend on a pool. These tests will only be run when the --feature pool_tests flag is added to cargo test

* took out redundant set-up code. Ignored test that caused side-effects

* Added openssl docker build


* Added libsodium, fixed openssl


* More fixes to docker files


* Added scripts to build Libindy and Libvcx for android

* Fixes in Libcvx for android build. Added readme

* Finished OpenSSL build


* Added libsodium


* Added zeromq build


* [CO-1313, CO-1383] - Moving the ios scripts into an ios folder which contains a mac folder

* Removed the .out logging files

* [CO-1313, CO-1383] - Fixed the ios scripts to reflect being moved into a subfolder

* Added scripts for bundling binaries with ndk-build

* Added scripts for bundling binaries with ndk-build. Added sample app

* Fixes after merge

* Fixed Sample add

* removed ios-demo-vcx project

* Add vcx connection flow mehthods

* Rename agentProvision to createOneTimeInfo

* Added sample project WrapperTest to showcase the usage of Android wrapper

* Update params for init, onetimeAgent and updatePushToken

* Added instructions to WrapperTest. Some fixes in scripts.

* Added instructions to WrapperTest. Some fixes in scripts.

* Readme.md

* Update README.md

* removed some unnecessary comments

* Working with libindy deb 1.4 (#267)

* updated documentation for rust api

* fixed warnings and compile errors with the demo tests

* updated api documentation

* fixed api docs and got test working

* updated version

* updated jenkins libindy version

* updated jenkins libindy version

* added zmq dep.

* update jenkins file to no-cache

* changed libindy docker file to 1.3.1 and added self_attested test

* updated libindy repo in docker file

* added libzmq5 to docker file

* took out extra dependencies

* added all dependencies that other docker file had

* took out unused docker commands from libindy docker file

* update credentials in wallet to use main master secret.
Have generate_proof working. Need to expose with api

* added api to disclosed_proof for retrieving credentials and for generating a proof

* fixed lint issued in node wrapper

* added api to retrieve cred_def_id

* fixed info messaged and added get_cred_def_id to header file

* added feature called pool_tests to tests that depend on a pool. These tests will only be run when the --feature pool_tests flag is added to cargo test

* took out redundant set-up code. Ignored test that caused side-effects

* updated cred-def defaults in wallet

* vcx tests pass with libindy 1.4

* got test_real_proof working (end-to-end test)

* updated docker file to 1.4

* fixed failing wrapper tests

* [CO-1313, CO-1383] - Scripts for building the android libvcx.so on a mac and to fix the sudo of the sodium user and zmq user

* [CO-1313, CO-1383] - Scripts for building the android libvcx.so on a mac and to fix the sudo of the sodium user and zmq user

* [CO-1313, CO-1383] - Added libvcx build for arm and fixed log messages for missing environment variable LIBINDY_DIR

* [CO-1313, CO-1383] - Added libvcx build for armv7, arm64, x86_64 and x86 also fixed the x86 and x86_64 build.rs script to use the android build steps

* Added android test project


* Adding the commands to build the libvcx.dylib file for the apple darwin architecture

* Upgradded two versions of dependencies

* Added a JNA example for invoking the vcx_agent_provision_async libvcx function

* Updates to zmq


* Updates


* Finished libindy


* added apis related to claim in objective C wrapper

* Updates to fix the final build


* Fixed the scripts to do a git pull of the code so that it is really updated

* Finished libvcx build for android


* Placed the git pull at the end of making sure that any un-needed changes are moved out of the way

* Add logging support to libvcx

* Add generateProof method to vcx objective-c

* Revert back conflict changes

* Revert "Revert back conflict changes"

This reverts commit 1c25c704038fe55980eeda2a2c17b3788cd775cd.

* Revert "Add generateProof method to vcx objective-c"

This reverts commit de0e6443ee78b9bae636413d7a0fdbc3488f5c15.

* Revert back to old commits

* libvcx ios wrapper for credentail flow is done

* Adding the eclipse project files to the jnavcx project

* Adding the last steps for building the libvcxall.so for android on a mac

* Added a README.txt file for building the iOS libindy.a and libvcx.a file as well as updates to make the scripts more robust

* Updated scripts to work the first time and subsequent times and updated the README.txt instructions

* Added a common error into the README.txt file so that it does not cause problems in the future

* Added the last few build step changes and updated the README for how to fix an issue that was occuring with the build

* Last updates to make sure it builds

* Added an if statement to check whether the parameter is empty or not

* Adding the iOS git-lfs file libvcxall.a that works in Xcode to call the vcx functions

* Changes to run the libvcx build steps at 11 am every day

* Now the launchd daemon script really works

* Added a parameter to the launchd daemon script to delete the library if it already exists

* Updating the scripts to checkout and merge the libindy_refactor branch as part of the automated build

* Removed the steps to checkout and merge the libindy_refactor branch we will have to merge in the libindy_refactor branch manually

* Removed the steps to checkout and merge the libindy_refactor branch we will have to merge in the libindy_refactor branch manually

* Forgot to add the .gitattributes file for the git-lfs setup

* Updated the README.txt file so that it is more clear what the launchd script will do

* temp commit

* modified sample app

* Added new apis to vcx

* Fixed the android scripts to be able to run docker as a user other than the user who installed docker, there may be a better workaround for this

* Added the .bash_profile file and the README.txt file for android

* Adding the build scripts for android so that we can build the library automaticaly once each day via launchd on a mac

* fixed xcode error

* Added the OPENSSL_DIR path so that the android build of libindy.so will work

* Switched to the 1.4.0 tagged release of indy-sdk and fixed the build to not fail on the darwin build

* Fixed an issue with armv7 build and that affected several scripts

* Fixed an issue with armv7 build and that affected several scripts

* Removed one of the large .out log files that is not needed

* Fixed dex issue

* Changes to force the link to occur and to give some informational output from the commands being run

* Fixed the missing architecture i386 in the libzmq.a and libsodium.a static libraries

* Now the libvcxall.a has the i386 architecture in it

* Now the libvcxall.a has the i386 architecture in it

* Adding in the zipped up libvcxall.so files that are built as part of the daily android build of the vcx rust code

* EN-586, EN-576, EN-474 - using libnullpay (#269)

* EN-586, EN-576, EN-474 - using libnullpay

* update libindy deb file

* fix copy/paste error

* fix another typo

* added credentialCreateWithMsgid api

* Wallet Storage API for Rust, Python, and Node (#270)

Adds add_record Call
Adds vcx_wallet_update_record_value Call
Adds vcx_wallet_update_record_tags Call
Adds vcx_wallet_add_record_tags Call
Adds vcx_wallet_delete_record_tags Call
Adds vcx_wallet_delete_record Call
Adds vcx_wallet_get_record Call
Adds vcx_wallet_open_search Call
Adds vcx_wallet_close_search Call
Adds vcx_wallet_search_next_records Call

* fix to initialize token library during vcx_init - EN-586 (#271)

* Removing the large files out of the repository because we are going to use another server to host the artifacts produces by our builds

*  wrapper work for creating addresses EN-576 (#273)

* fix to initialize token library during vcx_init - EN-586

* wrapper work for creating addresses EN-576

* update header file

* Changed the times of the automated launchd build to be 9 pm MST for android and 10 pm MST for iOS

* Adding back in all of the architectures for iOS

* Added the pattern to ignore .zip files

* Removing the v1.4.0 tag of libindy and switching back to master as libindy_refactor builds are relying on libindy master

* VCX Init changes and Init Wallet (#274)

* updated documentation for rust api

* fixed warnings and compile errors with the demo tests

* updated api documentation

* fixed api docs and got test working

* updated version

* updated jenkins libindy version

* updated jenkins libindy version

* added zmq dep.

* update jenkins file to no-cache

* changed libindy docker file to 1.3.1 and added self_attested test

* updated libindy repo in docker file

* added libzmq5 to docker file

* took out extra dependencies

* added all dependencies that other docker file had

* took out unused docker commands from libindy docker file

* update credentials in wallet to use main master secret.
Have generate_proof working. Need to expose with api

* added api to disclosed_proof for retrieving credentials and for generating a proof

* fixed lint issued in node wrapper

* added api to retrieve cred_def_id

* fixed info messaged and added get_cred_def_id to header file

* added feature called pool_tests to tests that depend on a pool. These tests will only be run when the --feature pool_tests flag is added to cargo test

* took out redundant set-up code. Ignored test that caused side-effects

* updated cred-def defaults in wallet

* vcx tests pass with libindy 1.4

* got test_real_proof working (end-to-end test)

* updated docker file to 1.4

* fixed failing wrapper tests

* removed warnings

* vcx init no longer enfoces config values. Added create wallet api

* wrapper tests passing

* create wallet in wrappers have no return value

* took out bad test

* took out init_wallet

* took out init_wallet definitions in rustlib

* Removed the git-lfs attributes

* create_with_msgid returns cred_offer for credential and proof_req for disclosed_proof (#277)

* updated documentation for rust api

* fixed warnings and compile errors with the demo tests

* updated api documentation

* fixed api docs and got test working

* updated version

* updated jenkins libindy version

* updated jenkins libindy version

* added zmq dep.

* update jenkins file to no-cache

* changed libindy docker file to 1.3.1 and added self_attested test

* updated libindy repo in docker file

* added libzmq5 to docker file

* took out extra dependencies

* added all dependencies that other docker file had

* took out unused docker commands from libindy docker file

* update credentials in wallet to use main master secret.
Have generate_proof working. Need to expose with api

* added api to disclosed_proof for retrieving credentials and for generating a proof

* fixed lint issued in node wrapper

* added api to retrieve cred_def_id

* fixed info messaged and added get_cred_def_id to header file

* added feature called pool_tests to tests that depend on a pool. These tests will only be run when the --feature pool_tests flag is added to cargo test

* took out redundant set-up code. Ignored test that caused side-effects

* updated cred-def defaults in wallet

* vcx tests pass with libindy 1.4

* got test_real_proof working (end-to-end test)

* updated docker file to 1.4

* fixed failing wrapper tests

* removed warnings

* vcx init no longer enfoces config values. Added create wallet api

* wrapper tests passing

* create wallet in wrappers have no return value

* took out bad test

* took out init_wallet

* took out init_wallet definitions in rustlib

* returned cred_offer and proof_req for create_with_msgid for disclosed_proof and credential

* Add connection flow android vcx wrapper methods

* Move updateAgentInfo to utils

* Clear settings during shutdown (#278)

* updated documentation for rust api

* fixed warnings and compile errors with the demo tests

* updated api documentation

* fixed api docs and got test working

* updated version

* updated jenkins libindy version

* updated jenkins libindy version

* added zmq dep.

* update jenkins file to no-cache

* changed libindy docker file to 1.3.1 and added self_attested test

* updated libindy repo in docker file

* added libzmq5 to docker file

* took out extra dependencies

* added all dependencies that other docker file had

* took out unused docker commands from libindy docker file

* update credentials in wallet to use main master secret.
Have generate_proof working. Need to expose with api

* added api to disclosed_proof for retrieving credentials and for generating a proof

* fixed lint issued in node wrapper

* added api to retrieve cred_def_id

* fixed info messaged and added get_cred_def_id to header file

* added feature called pool_tests to tests that depend on a pool. These tests will only be run when the --feature pool_tests flag is added to cargo test

* took out redundant set-up code. Ignored test that caused side-effects

* updated cred-def defaults in wallet

* vcx tests pass with libindy 1.4

* got test_real_proof working (end-to-end test)

* updated docker file to 1.4

* fixed failing wrapper tests

* removed warnings

* vcx init no longer enfoces config values. Added create wallet api

* wrapper tests passing

* create wallet in wrappers have no return value

* took out bad test

* took out init_wallet

* took out init_wallet definitions in rustlib

* returned cred_offer and proof_req for create_with_msgid for disclosed_proof and credential

* cleared settings during shutdown

* fixed comment

* Add vcxGenerateProof method for vcx android wrapper

* Updated documentation in node wrapper and took out config library (#279)

* updated documentation for rust api

* fixed warnings and compile errors with the demo tests

* updated api documentation

* fixed api docs and got test working

* updated version

* updated jenkins libindy version

* updated jenkins libindy version

* added zmq dep.

* update jenkins file to no-cache

* changed libindy docker file to 1.3.1 and added self_attested test

* updated libindy repo in docker file

* added libzmq5 to docker file

* took out extra dependencies

* added all dependencies that other docker file had

* took out unused docker commands from libindy docker file

* update credentials in wallet to use main master secret.
Have generate_proof working. Need to expose with api

* added api to disclosed_proof for retrieving credentials and for generating a proof

* fixed lint issued in node wrapper

* added api to retrieve cred_def_id

* fixed info messaged and added get_cred_def_id to header file

* added feature called pool_tests to tests that depend on a pool. These tests will only be run when the --feature pool_tests flag is added to cargo test

* took out redundant set-up code. Ignored test that caused side-effects

* updated cred-def defaults in wallet

* vcx tests pass with libindy 1.4

* got test_real_proof working (end-to-end test)

* updated docker file to 1.4

* fixed failing wrapper tests

* removed warnings

* vcx init no longer enfoces config values. Added create wallet api

* wrapper tests passing

* create wallet in wrappers have no return value

* took out bad test

* took out init_wallet

* took out init_wallet definitions in rustlib

* returned cred_offer and proof_req for create_with_msgid for disclosed_proof and credential

* cleared settings during shutdown

* fixed comment

* updated documentation and took out config library

* Adding the podspec for versions 0.0.7 and 0.0.8

* Changed the name of the zip archive to be newer as I cannot overwrite the zip archive in kraken yet

* Adding the vcx.framework zip file as the source for the pod

* Adding the changes that Yaswanth indicated to get the pod to work

* [CO-1383] - With these changes you can now see a backtrace from the rust library by invoking ./run.sh

* [CO-1383] - Removed an un-needed white space that got introduced somehow

* [CO-1383] - Changed back the log statements to be either error or info rather than println

* [CO-1383] - Changed back the log statement to be debug and added back in the space

* [CO-1383] - Removed the whitespace that got introduced

* enable vcx_ledger_get_fees EN-475 (#282)

* enable vcx_ledger_get_fees EN-475

* update header docs

* added claim related java wrapper for libvcx

* temp commit

* Added build scripts to build without docker

* Added in the libssl and libcrypto libraries and added in some debugging and functions for the environment variables

* Changed println statements back to trace and removed some println statements

* Changed println statements back to trace and removed some println statements

* Reverting back some changes to debug statements

* Changed some println statements back to debug and removed commented out lines of code

* Changes println! to info!
Fixed logging on android

* Changes println! to info!
Fixed logging on android

* Fixes for init function

* Buildscripts cleanup

* functionality for inputs and outputs (#285)

* updated documentation for rust api

* fixed warnings and compile errors with the demo tests

* updated api documentation

* fixed api docs and got test working

* updated version

* updated jenkins libindy version

* updated jenkins libindy version

* added zmq dep.

* update jenkins file to no-cache

* changed libindy docker file to 1.3.1 and added self_attested test

* updated libindy repo in docker file

* added libzmq5 to docker file

* took out extra dependencies

* added all dependencies that other docker file had

* took out unused docker commands from libindy docker file

* update credentials in wallet to use main master secret.
Have generate_proof working. Need to expose with api

* added api to disclosed_proof for retrieving credentials and for generating a proof

* fixed lint issued in node wrapper

* added api to retrieve cred_def_id

* fixed info messaged and added get_cred_def_id to header file

* added feature called pool_tests to tests that depend on a pool. These tests will only be run when the --feature pool_tests flag is added to cargo test

* took out redundant set-up code. Ignored test that caused side-effects

* updated cred-def defaults in wallet

* vcx tests pass with libindy 1.4

* got test_real_proof working (end-to-end test)

* updated docker file to 1.4

* fixed failing wrapper tests

* removed warnings

* vcx init no longer enfoces config values. Added create wallet api

* wrapper tests passing

* create wallet in wrappers have no return value

* took out bad test

* took out init_wallet

* took out init_wallet definitions in rustlib

* returned cred_offer and proof_req for create_with_msgid for disclosed_proof and credential

* cleared settings during shutdown

* fixed comment

* updated documentation and took out config library

* functionality for inputs and outputs

* added get_txn_cost

* Added code to debug an android device with the libvcx code and the libindy code to be to get a backtrace

* Moved the rust-indy-sdk dependency to not be dependent on being build on android

* Buildscripts cleanup

* Now switching to using static libraries rather than shared libraries

* Remove debug logs

* removed disable of ssl cert verification from httpclient.rs

* Added credentials api to wrapper
Fixed some apis
Fixed duplicate function call in logger.rs


* Fixed package path in android wrapper


* Fixing the build to use a commit hash so that the build does not break when the HEAD of the master branch is broken

* Adding a script to upload the android build zipfiles to kraken

* Adding a script to upload the files built for ios to the kraken repo

* Now both the android and ios build share the same commit sha hash

* written wrapper functions for proofs and credentials

* written methods for proofs and credentials

* added spec 0.0.9

* Added result class to return result for GetProof


* update with credential callback types

* [WIP] Added Exceptions for error codes


* [WIP] Added more exceptions for error codes


* added wrapper apis for serialize and deserialize connection

* add credentialUpdateState

* added documentation for wrapper ios

* updated ConnectionApi.java with connection serialize and deserialize

* Fixed a build issue when checking out the correct commit hash from the indy-sdk repo

* Added the steps to automate the creation of the cocoapod archive file that the ConnectMe build relies on

* Fixed the Darwin build to find the libnullpay library

* Fixed the upload scripts to also copy the archives to the nginx server download location

* Added the sudo command infront of the cp command so that it can be copied to /usr/local

* Reverting changes that were made to rust code so that we can verify that the tests will pass

* Fixed the Cargo.toml file to be more like the one in master branch

* Removed all of the duplicate identifiers that were causing the build to fail

Signed-off-by: Norman Jarvis <norman.jarvis@gmail.com>
  • Loading branch information...
nsivraj authored and ryMarsh44 committed Jun 5, 2018
1 parent 0f1dba7 commit 20ec04b5b903a1e5975a080f30f4a5d0757bfa3f
Showing with 19,817 additions and 13 deletions.
  1. +1 −0 .gitattributes
  2. +27 −0 Specs/vcx/0.0.1/vcx.podspec.json
  3. +44 −0 Specs/vcx/0.0.2/vcx.podspec
  4. +44 −0 Specs/vcx/0.0.4/vcx.podspec
  5. +44 −0 Specs/vcx/0.0.7/vcx.podspec
  6. +46 −0 Specs/vcx/0.0.8/vcx.podspec
  7. +44 −0 Specs/vcx/0.0.9/vcx.podspec
  8. +8 −0 vcx/libvcx/Cargo.toml
  9. +27 −3 vcx/libvcx/build.rs
  10. +10 −0 vcx/libvcx/build_scripts/android/README.md
  11. +117 −0 vcx/libvcx/build_scripts/android/debug-device/README.txt
  12. +5,921 −0 vcx/libvcx/build_scripts/android/debug-device/debug-device.out
  13. +8 −0 vcx/libvcx/build_scripts/android/debug-device/debugvcx/Cargo.toml
  14. +8 −0 vcx/libvcx/build_scripts/android/debug-device/debugvcx/build.rs
  15. +133 −0 vcx/libvcx/build_scripts/android/debug-device/debugvcx/src/main.rs
  16. +3 −0 vcx/libvcx/build_scripts/android/debug-device/debugvcx/src/main.rs.orig
  17. +126 −0 vcx/libvcx/build_scripts/android/debug-device/debugvcx/src/main.rs.with.so.libs
  18. +132 −0 vcx/libvcx/build_scripts/android/debug-device/debugvcx/src/main.rs.with.vcx
  19. +22 −0 vcx/libvcx/build_scripts/android/debug-device/mkshrc
  20. +54 −0 vcx/libvcx/build_scripts/android/debug-device/steps.to.rootandroid.txt
  21. +49 −0 vcx/libvcx/build_scripts/android/indy/Dockerfile
  22. +115 −0 vcx/libvcx/build_scripts/android/indy/build.sh
  23. +26 −0 vcx/libvcx/build_scripts/android/indy/make_indy.sh
  24. +44 −0 vcx/libvcx/build_scripts/android/libsodium/Dockerfile
  25. +46 −0 vcx/libvcx/build_scripts/android/libsodium/build.sh
  26. +27 −0 vcx/libvcx/build_scripts/android/mac/.bash_profile
  27. +53 −0 vcx/libvcx/build_scripts/android/mac/README.txt
  28. +19 −0 vcx/libvcx/build_scripts/android/mac/cargo-config.toml.template
  29. +14 −0 vcx/libvcx/build_scripts/android/mac/indy-sdk.build.rs.android.target.static.libs.template
  30. +41 −0 vcx/libvcx/build_scripts/android/mac/launchd.daemon.build.android.libvxc.plist
  31. +15 −0 vcx/libvcx/build_scripts/android/mac/launchd.daemon.build.android.libvxc.sh
  32. +90 −0 vcx/libvcx/build_scripts/android/mac/linux.build.more.android.architectures.sh
  33. +92 −0 vcx/libvcx/build_scripts/android/mac/mac.01.libindy.setup.sh
  34. +13 −0 vcx/libvcx/build_scripts/android/mac/mac.02.libindy.env.sh
  35. +125 −0 vcx/libvcx/build_scripts/android/mac/mac.03.libindy.build.sh
  36. +27 −0 vcx/libvcx/build_scripts/android/mac/mac.04.libvcx.setup.sh
  37. +3 −0 vcx/libvcx/build_scripts/android/mac/mac.05.libvcx.env.sh
  38. +88 −0 vcx/libvcx/build_scripts/android/mac/mac.06.libvcx.build.sh
  39. +45 −0 vcx/libvcx/build_scripts/android/mac/mac.07.libvcx.find.android.native.deps.sh
  40. +39 −0 vcx/libvcx/build_scripts/android/mac/mac.08.copy.shared.libs.to.app.sh
  41. +44 −0 vcx/libvcx/build_scripts/android/mac/mac.09.combine.shared.libs.sh
  42. +58 −0 vcx/libvcx/build_scripts/android/mac/mac.build.and.install.rust.tools.sh
  43. +61 −0 vcx/libvcx/build_scripts/android/mac/mac.build.libz.sh
  44. +54 −0 vcx/libvcx/build_scripts/android/mac/mac.build.ndk.standalone.toolchain.sh
  45. +41 −0 vcx/libvcx/build_scripts/android/mac/mac.libminiz.libsqlite3.combine.sh
  46. +27 −0 vcx/libvcx/build_scripts/android/mac/mac.libssl.libcrypto.build.sh
  47. +22 −0 vcx/libvcx/build_scripts/android/mac/mac.libzmq.libsodium.build.sh
  48. +38 −0 vcx/libvcx/build_scripts/android/mac/mac.upload.android.build.zipfiles.sh
  49. +20 −0 vcx/libvcx/build_scripts/android/mac/shared.functions.sh
  50. +27 −0 vcx/libvcx/build_scripts/android/openssl/Dockerfile
  51. +45 −0 vcx/libvcx/build_scripts/android/openssl/build.sh
  52. +248 −0 vcx/libvcx/build_scripts/android/openssl/make_openssl.sh
  53. +7 −0 vcx/libvcx/build_scripts/android/vcx/.gitignore
  54. +50 −0 vcx/libvcx/build_scripts/android/vcx/Dockerfile
  55. +162 −0 vcx/libvcx/build_scripts/android/vcx/build.nondocker.sh
  56. +118 −0 vcx/libvcx/build_scripts/android/vcx/build.sh
  57. +20 −0 vcx/libvcx/build_scripts/android/vcx/make_vcx.sh
  58. +44 −0 vcx/libvcx/build_scripts/android/zmq/Dockerfile
  59. +59 −0 vcx/libvcx/build_scripts/android/zmq/build.sh
  60. +27 −0 vcx/libvcx/build_scripts/ios/mac/.bash_profile
  61. +105 −0 vcx/libvcx/build_scripts/ios/mac/README.txt
  62. +41 −0 vcx/libvcx/build_scripts/ios/mac/launchd.daemon.build.libvxc.plist
  63. +16 −0 vcx/libvcx/build_scripts/ios/mac/launchd.daemon.build.libvxc.sh
  64. +70 −0 vcx/libvcx/build_scripts/ios/mac/mac.01.libindy.setup.sh
  65. +13 −0 vcx/libvcx/build_scripts/ios/mac/mac.02.libindy.env.sh
  66. +35 −0 vcx/libvcx/build_scripts/ios/mac/mac.03.libindy.build.sh
  67. +27 −0 vcx/libvcx/build_scripts/ios/mac/mac.04.libvcx.setup.sh
  68. +3 −0 vcx/libvcx/build_scripts/ios/mac/mac.05.libvcx.env.sh
  69. +19 −0 vcx/libvcx/build_scripts/ios/mac/mac.06.libvcx.build.sh
  70. +45 −0 vcx/libvcx/build_scripts/ios/mac/mac.07.libvcx.find.ios.native.deps.sh
  71. +19 −0 vcx/libvcx/build_scripts/ios/mac/mac.08.libssl.libcrypto.build.sh
  72. +19 −0 vcx/libvcx/build_scripts/ios/mac/mac.09.libzmq.libsodium.build.sh
  73. +41 −0 vcx/libvcx/build_scripts/ios/mac/mac.10.libminiz.libsqlite3.combine.sh
  74. +23 −0 vcx/libvcx/build_scripts/ios/mac/mac.11.copy.static.libs.to.app.sh
  75. +86 −0 vcx/libvcx/build_scripts/ios/mac/mac.12.combine.static.libs.sh
  76. +58 −0 vcx/libvcx/build_scripts/ios/mac/mac.build.and.install.rust.tools.sh
  77. +56 −0 vcx/libvcx/build_scripts/ios/mac/mac.upload.ios.build.files.sh
  78. +20 −0 vcx/libvcx/build_scripts/ios/mac/shared.functions.sh
  79. +1 −0 vcx/libvcx/build_scripts/libindy.commit.sha1.hash.txt
  80. +3 −0 vcx/libvcx/include/vcx.h
  81. +0 −2 vcx/libvcx/src/api/utils.rs
  82. +4 −4 vcx/libvcx/src/api/vcx.rs
  83. +0 −2 vcx/libvcx/src/messages/agent_utils.rs
  84. +1 −0 vcx/libvcx/src/utils/libindy/anoncreds.rs
  85. +19 −0 vcx/wrappers/ios/README.md
  86. +133 −0 vcx/wrappers/ios/vcx/ConnectMeVcx.h
  87. +563 −0 vcx/wrappers/ios/vcx/ConnectMeVcx.m
  88. +294 −0 vcx/wrappers/ios/vcx/include/libvcx.h
  89. +1 −0 vcx/wrappers/ios/vcx/lib/placeholder.txt
  90. +13 −0 vcx/wrappers/ios/vcx/utils/NSError+VcxError.h
  91. +17 −0 vcx/wrappers/ios/vcx/utils/NSError+VcxError.m
  92. +47 −0 vcx/wrappers/ios/vcx/utils/VcxCallbacks.h
  93. +163 −0 vcx/wrappers/ios/vcx/utils/VcxCallbacks.mm
  94. +17 −0 vcx/wrappers/ios/vcx/utils/VcxErrors.h
  95. +14 −0 vcx/wrappers/ios/vcx/utils/VcxTypes.h
  96. +22 −0 vcx/wrappers/ios/vcx/vcx-demo/AppDelegate.h
  97. +89 −0 vcx/wrappers/ios/vcx/vcx-demo/AppDelegate.m
  98. +98 −0 vcx/wrappers/ios/vcx/vcx-demo/Assets.xcassets/AppIcon.appiconset/Contents.json
  99. +25 −0 vcx/wrappers/ios/vcx/vcx-demo/Base.lproj/LaunchScreen.storyboard
  100. +24 −0 vcx/wrappers/ios/vcx/vcx-demo/Base.lproj/Main.storyboard
  101. +47 −0 vcx/wrappers/ios/vcx/vcx-demo/Info.plist
  102. +15 −0 vcx/wrappers/ios/vcx/vcx-demo/ViewController.h
  103. +29 −0 vcx/wrappers/ios/vcx/vcx-demo/ViewController.m
  104. +16 −0 vcx/wrappers/ios/vcx/vcx-demo/main.m
  105. +22 −0 vcx/wrappers/ios/vcx/vcx-demoTests/Info.plist
  106. +39 −0 vcx/wrappers/ios/vcx/vcx-demoTests/vcx_demoTests.m
  107. +22 −0 vcx/wrappers/ios/vcx/vcx-demoUITests/Info.plist
  108. +40 −0 vcx/wrappers/ios/vcx/vcx-demoUITests/vcx_demoUITests.m
  109. +21 −0 vcx/wrappers/ios/vcx/vcx.framework/Headers/vcx.h
  110. BIN vcx/wrappers/ios/vcx/vcx.framework/Info.plist
  111. +6 −0 vcx/wrappers/ios/vcx/vcx.framework/Modules/module.modulemap
  112. BIN vcx/wrappers/ios/vcx/vcx.framework/vcx
  113. +1,051 −0 vcx/wrappers/ios/vcx/vcx.xcodeproj/project.pbxproj
  114. +7 −0 vcx/wrappers/ios/vcx/vcx.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  115. +8 −0 vcx/wrappers/ios/vcx/vcx.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
  116. +5 −0 vcx/wrappers/ios/vcx/vcx.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
  117. BIN ...x/vcx.xcodeproj/project.xcworkspace/xcuserdata/Evernym.xcuserdatad/UserInterfaceState.xcuserstate
  118. BIN .../vcx/vcx.xcodeproj/project.xcworkspace/xcuserdata/norm.xcuserdatad/UserInterfaceState.xcuserstate
  119. +18 −0 ...os/vcx/vcx.xcodeproj/project.xcworkspace/xcuserdata/norm.xcuserdatad/WorkspaceSettings.xcsettings
  120. BIN ...x/vcx.xcodeproj/project.xcworkspace/xcuserdata/pradeep.xcuserdatad/UserInterfaceState.xcuserstate
  121. +138 −0 vcx/wrappers/ios/vcx/vcx.xcodeproj/xcuserdata/Evernym.xcuserdatad/xcschemes/vcx-demo.xcscheme
  122. +119 −0 vcx/wrappers/ios/vcx/vcx.xcodeproj/xcuserdata/Evernym.xcuserdatad/xcschemes/vcx.xcscheme
  123. +52 −0 vcx/wrappers/ios/vcx/vcx.xcodeproj/xcuserdata/Evernym.xcuserdatad/xcschemes/xcschememanagement.plist
  124. +55 −0 vcx/wrappers/ios/vcx/vcx.xcodeproj/xcuserdata/norm.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
  125. +120 −0 vcx/wrappers/ios/vcx/vcx.xcodeproj/xcuserdata/norm.xcuserdatad/xcschemes/vcx-demo.xcscheme
  126. +42 −0 vcx/wrappers/ios/vcx/vcx.xcodeproj/xcuserdata/norm.xcuserdatad/xcschemes/xcschememanagement.plist
  127. +24 −0 vcx/wrappers/ios/vcx/vcx.xcodeproj/xcuserdata/pradeep.xcuserdatad/xcschemes/xcschememanagement.plist
  128. +24 −0 vcx/wrappers/ios/vcx/vcx/Info.plist
  129. +21 −0 vcx/wrappers/ios/vcx/vcx/vcx.h
  130. +22 −0 vcx/wrappers/ios/vcx/vcxTests/Info.plist
  131. +39 −0 vcx/wrappers/ios/vcx/vcxTests/vcxTests.m
  132. +1 −0 vcx/wrappers/java/android/README.md
  133. +9 −0 vcx/wrappers/java/android/sample_app/JniTest/.gitignore
  134. +6 −0 vcx/wrappers/java/android/sample_app/JniTest/app/.gitignore
  135. +49 −0 vcx/wrappers/java/android/sample_app/JniTest/app/Android.mk
  136. +4 −0 vcx/wrappers/java/android/sample_app/JniTest/app/Application.mk
  137. +63 −0 vcx/wrappers/java/android/sample_app/JniTest/app/CMakeLists.txt
  138. +50 −0 vcx/wrappers/java/android/sample_app/JniTest/app/build.gradle
  139. +21 −0 vcx/wrappers/java/android/sample_app/JniTest/app/proguard-rules.pro
  140. +26 −0 ...sample_app/JniTest/app/src/androidTest/java/com/evernym/indy/jnitest/ExampleInstrumentedTest.java
  141. +24 −0 vcx/wrappers/java/android/sample_app/JniTest/app/src/main/AndroidManifest.xml
  142. +13 −0 vcx/wrappers/java/android/sample_app/JniTest/app/src/main/cpp/native-lib.cpp
  143. +264 −0 ...rappers/java/android/sample_app/JniTest/app/src/main/java/com/evernym/indy/jnitest/ErrorCode.java
  144. +42 −0 ...ers/java/android/sample_app/JniTest/app/src/main/java/com/evernym/indy/jnitest/IndyException.java
  145. +244 −0 ...wrappers/java/android/sample_app/JniTest/app/src/main/java/com/evernym/indy/jnitest/IndyJava.java
  146. +218 −0 ...pers/java/android/sample_app/JniTest/app/src/main/java/com/evernym/indy/jnitest/MainActivity.java
  147. +23 −0 ...ers/java/android/sample_app/JniTest/app/src/main/java/com/evernym/indy/jnitest/MyApplication.java
  148. +85 −0 .../java/android/sample_app/JniTest/app/src/main/java/com/evernym/indy/jnitest/RetrieveFeedTask.java
  149. +44 −0 vcx/wrappers/java/android/sample_app/JniTest/app/src/main/java/com/evernym/indy/jnitest/Utils.java
  150. +78 −0 vcx/wrappers/java/android/sample_app/JniTest/app/src/main/java/com/evernym/indy/jnitest/VCX.java
  151. +34 −0 ...wrappers/java/android/sample_app/JniTest/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
  152. +170 −0 vcx/wrappers/java/android/sample_app/JniTest/app/src/main/res/drawable/ic_launcher_background.xml
  153. +64 −0 vcx/wrappers/java/android/sample_app/JniTest/app/src/main/res/layout/activity_main.xml
  154. +5 −0 vcx/wrappers/java/android/sample_app/JniTest/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
  155. +5 −0 ...wrappers/java/android/sample_app/JniTest/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
  156. +6 −0 vcx/wrappers/java/android/sample_app/JniTest/app/src/main/res/values/colors.xml
  157. +3 −0 vcx/wrappers/java/android/sample_app/JniTest/app/src/main/res/values/strings.xml
  158. +11 −0 vcx/wrappers/java/android/sample_app/JniTest/app/src/main/res/values/styles.xml
  159. +17 −0 ...s/java/android/sample_app/JniTest/app/src/test/java/com/evernym/indy/jnitest/ExampleUnitTest.java
  160. +27 −0 vcx/wrappers/java/android/sample_app/JniTest/build.gradle
  161. +17 −0 vcx/wrappers/java/android/sample_app/JniTest/gradle.properties
  162. BIN vcx/wrappers/java/android/sample_app/JniTest/gradle/wrapper/gradle-wrapper.jar
  163. +6 −0 vcx/wrappers/java/android/sample_app/JniTest/gradle/wrapper/gradle-wrapper.properties
  164. +160 −0 vcx/wrappers/java/android/sample_app/JniTest/gradlew
  165. +90 −0 vcx/wrappers/java/android/sample_app/JniTest/gradlew.bat
  166. +1 −0 vcx/wrappers/java/android/sample_app/JniTest/settings.gradle
  167. +10 −0 vcx/wrappers/java/android/sample_app/WrapperTest/.gitignore
  168. +1 −0 vcx/wrappers/java/android/sample_app/WrapperTest/app/.gitignore
  169. +42 −0 vcx/wrappers/java/android/sample_app/WrapperTest/app/build.gradle
  170. +21 −0 vcx/wrappers/java/android/sample_app/WrapperTest/app/proguard-rules.pro
  171. +26 −0 ...apperTest/app/src/androidTest/java/com/evernym/connectme/wrappertest/ExampleInstrumentedTest.java
  172. +22 −0 vcx/wrappers/java/android/sample_app/WrapperTest/app/src/main/AndroidManifest.xml
  173. +150 −0 ...roid/sample_app/WrapperTest/app/src/main/java/com/evernym/connectme/wrappertest/MainActivity.java
  174. +34 −0 ...pers/java/android/sample_app/WrapperTest/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
  175. +170 −0 ...wrappers/java/android/sample_app/WrapperTest/app/src/main/res/drawable/ic_launcher_background.xml
  176. +61 −0 vcx/wrappers/java/android/sample_app/WrapperTest/app/src/main/res/layout/activity_main.xml
  177. +5 −0 vcx/wrappers/java/android/sample_app/WrapperTest/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
  178. +5 −0 ...pers/java/android/sample_app/WrapperTest/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
  179. +6 −0 vcx/wrappers/java/android/sample_app/WrapperTest/app/src/main/res/values/colors.xml
  180. +3 −0 vcx/wrappers/java/android/sample_app/WrapperTest/app/src/main/res/values/strings.xml
  181. +11 −0 vcx/wrappers/java/android/sample_app/WrapperTest/app/src/main/res/values/styles.xml
  182. +17 −0 ...d/sample_app/WrapperTest/app/src/test/java/com/evernym/connectme/wrappertest/ExampleUnitTest.java
  183. +27 −0 vcx/wrappers/java/android/sample_app/WrapperTest/build.gradle
  184. +17 −0 vcx/wrappers/java/android/sample_app/WrapperTest/gradle.properties
  185. BIN vcx/wrappers/java/android/sample_app/WrapperTest/gradle/wrapper/gradle-wrapper.jar
  186. +6 −0 vcx/wrappers/java/android/sample_app/WrapperTest/gradle/wrapper/gradle-wrapper.properties
  187. +160 −0 vcx/wrappers/java/android/sample_app/WrapperTest/gradlew
  188. +90 −0 vcx/wrappers/java/android/sample_app/WrapperTest/gradlew.bat
  189. +1 −0 vcx/wrappers/java/android/sample_app/WrapperTest/settings.gradle
  190. +3 −0 vcx/wrappers/java/android/sample_app/WrapperTest/vcx-debug/build.gradle
  191. BIN vcx/wrappers/java/android/sample_app/WrapperTest/vcx-debug/vcx-debug.aar
  192. +10 −0 vcx/wrappers/java/android/vcxtest/.gitignore
  193. +1 −0 vcx/wrappers/java/android/vcxtest/app/.gitignore
  194. +44 −0 vcx/wrappers/java/android/vcxtest/app/build.gradle
  195. +1 −0 vcx/wrappers/java/android/vcxtest/app/jni/x86/placeholder.md
  196. +21 −0 vcx/wrappers/java/android/vcxtest/app/proguard-rules.pro
  197. +21 −0 vcx/wrappers/java/android/vcxtest/app/src/main/AndroidManifest.xml
  198. +95 −0 vcx/wrappers/java/android/vcxtest/app/src/main/java/com/example/lodder/vcxtest/MainActivity.java
  199. +9 −0 vcx/wrappers/java/android/vcxtest/app/src/main/java/com/example/lodder/vcxtest/VCXJniHandler.java
  200. +34 −0 vcx/wrappers/java/android/vcxtest/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
  201. +170 −0 vcx/wrappers/java/android/vcxtest/app/src/main/res/drawable/ic_launcher_background.xml
  202. +19 −0 vcx/wrappers/java/android/vcxtest/app/src/main/res/layout/activity_main.xml
  203. +5 −0 vcx/wrappers/java/android/vcxtest/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
  204. +5 −0 vcx/wrappers/java/android/vcxtest/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
  205. +6 −0 vcx/wrappers/java/android/vcxtest/app/src/main/res/values/colors.xml
  206. +3 −0 vcx/wrappers/java/android/vcxtest/app/src/main/res/values/strings.xml
  207. +11 −0 vcx/wrappers/java/android/vcxtest/app/src/main/res/values/styles.xml
  208. +27 −0 vcx/wrappers/java/android/vcxtest/build.gradle
  209. +13 −0 vcx/wrappers/java/android/vcxtest/gradle.properties
  210. BIN vcx/wrappers/java/android/vcxtest/gradle/wrapper/gradle-wrapper.jar
  211. +6 −0 vcx/wrappers/java/android/vcxtest/gradle/wrapper/gradle-wrapper.properties
  212. +172 −0 vcx/wrappers/java/android/vcxtest/gradlew
  213. +84 −0 vcx/wrappers/java/android/vcxtest/gradlew.bat
  214. +2 −0 vcx/wrappers/java/android/vcxtest/jna/build.gradle
  215. BIN vcx/wrappers/java/android/vcxtest/jna/jna.aar
  216. +1 −0 vcx/wrappers/java/android/vcxtest/settings.gradle
  217. +9 −0 vcx/wrappers/java/jnavcx/.classpath
  218. +2 −0 vcx/wrappers/java/jnavcx/.gitignore
  219. +23 −0 vcx/wrappers/java/jnavcx/.project
  220. +3 −0 vcx/wrappers/java/jnavcx/.settings/org.eclipse.buildship.core.prefs
  221. +35 −0 vcx/wrappers/java/jnavcx/build.gradle
  222. BIN vcx/wrappers/java/jnavcx/gradle/wrapper/gradle-wrapper.jar
  223. +5 −0 vcx/wrappers/java/jnavcx/gradle/wrapper/gradle-wrapper.properties
  224. +172 −0 vcx/wrappers/java/jnavcx/gradlew
  225. +84 −0 vcx/wrappers/java/jnavcx/gradlew.bat
  226. +4 −0 vcx/wrappers/java/jnavcx/run.sh
  227. +18 −0 vcx/wrappers/java/jnavcx/settings.gradle
  228. +8 −0 vcx/wrappers/java/jnavcx/src/main/java/Library.java
  229. +27 −0 vcx/wrappers/java/jnavcx/src/main/java/com/evernym/sdk/vcx/HelloWorld.java
  230. +61 −0 vcx/wrappers/java/jnavcx/src/main/java/com/evernym/sdk/vcx/VcxProvisionAsync.java
  231. +1 −0 vcx/wrappers/java/jnavcx/src/main/resources/copy.libvcx.dylib.to.this.folder.txt
  232. +12 −0 vcx/wrappers/java/jnavcx/src/test/java/LibraryTest.java
  233. +23 −0 vcx/wrappers/java/vcx/.gitignore
  234. +49 −0 vcx/wrappers/java/vcx/Android.mk
  235. +4 −0 vcx/wrappers/java/vcx/Application.mk
  236. +18 −0 vcx/wrappers/java/vcx/README.md
  237. +6 −0 vcx/wrappers/java/vcx/build.and.deploy.aar.sh
  238. +7 −0 vcx/wrappers/java/vcx/build.and.include.indy.sh
  239. +121 −0 vcx/wrappers/java/vcx/build.gradle
  240. BIN vcx/wrappers/java/vcx/gradle/wrapper/gradle-wrapper.jar
  241. +6 −0 vcx/wrappers/java/vcx/gradle/wrapper/gradle-wrapper.properties
  242. +172 −0 vcx/wrappers/java/vcx/gradlew
  243. +84 −0 vcx/wrappers/java/vcx/gradlew.bat
  244. +12 −0 vcx/wrappers/java/vcx/local.properties
  245. +1 −0 vcx/wrappers/java/vcx/settings.gradle
  246. +2 −0 vcx/wrappers/java/vcx/src/main/AndroidManifest.xml
  247. +105 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/ErrorCode.java
  248. +52 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/InvalidParameterException.java
  249. +498 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/LibVcx.java
  250. +14 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/ParamGuard.java
  251. +18 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/StringUtils.java
  252. +28 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/VcxConstants.java
  253. +50 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/VcxException.java
  254. +242 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/VcxJava.java
  255. +195 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/connection/ConnectionApi.java
  256. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/connection/ConnectionErrorException.java
  257. +8 −0 ...ppers/java/vcx/src/main/java/com/evernym/sdk/vcx/connection/InvalidConnectionHandleException.java
  258. +8 −0 ...rs/java/vcx/src/main/java/com/evernym/sdk/vcx/credential/BuildCredentialDefReqErrorException.java
  259. +249 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/credential/CredentialApi.java
  260. +8 −0 ...pers/java/vcx/src/main/java/com/evernym/sdk/vcx/credential/InvalidCredentialRequestException.java
  261. +8 −0 ...java/vcx/src/main/java/com/evernym/sdk/vcx/credential/InvalidIssuerCredentialHandleException.java
  262. +32 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/proof/GetProofResult.java
  263. +8 −0 ...rappers/java/vcx/src/main/java/com/evernym/sdk/vcx/proof/InvalidProofCredentialDataException.java
  264. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/proof/InvalidProofException.java
  265. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/proof/InvalidProofHandleException.java
  266. +206 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/proof/ProofApi.java
  267. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/utils/InvalidConfigurationException.java
  268. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/utils/PostMsgFailureException.java
  269. +81 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/utils/UtilsApi.java
  270. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/vcx/BigNumberErrorException.java
  271. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/vcx/CreatePoolConfigException.java
  272. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/vcx/CreatePoolConfigParamsException.java
  273. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/vcx/IndySubmitRequestErrorException.java
  274. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/vcx/InvalidAttributeStructureException.java
  275. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/vcx/InvalidDIDException.java
  276. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/vcx/InvalidGenesisTxnPathException.java
  277. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/vcx/InvalidJsonException.java
  278. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/vcx/InvalidKeyDelegateException.java
  279. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/vcx/InvalidMessagesException.java
  280. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/vcx/InvalidMsgPackException.java
  281. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/vcx/InvalidNonceException.java
  282. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/vcx/InvalidOptionException.java
  283. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/vcx/InvalidUrlException.java
  284. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/vcx/InvalidVerkeyException.java
  285. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/vcx/NoEndpointException.java
  286. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/vcx/NoPoolOpenException.java
  287. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/vcx/NotBase58Exception.java
  288. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/vcx/NotReadyException.java
  289. +8 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/vcx/UnknownErrorException.java
  290. +100 −0 vcx/wrappers/java/vcx/src/main/java/com/evernym/sdk/vcx/vcx/VcxApi.java
  291. +2 −2 vcx/wrappers/node/test/schemaTest.js
View
@@ -0,0 +1 @@
#*.a filter=lfs diff=lfs merge=lfs -text
@@ -0,0 +1,27 @@
{
"name": "vcx",
"platforms": {
"ios": "10.0"
},
"summary": "High-level wrapper function for vcx framework.",
"requires_arc": false,
"version": "0.0.1",
"license": {
"type": "Commercial",
"file": "LICENSE"
},
"authors": {
"Evernym Inc.": "iosdev@evernym.com"
},
"homepage": "https://github.com/evernym/sdk/vcx/wrappers/ios",
"source": {
"http":
"2f43b886.ngrok.io/vcxFramework.zip"
},
"frameworks": "Foundation",
"dependencies": {},
"ios": {
"vendored_frameworks": "vcxFramework/vcx.framework"
},
"module_name": "vcx"
}
@@ -0,0 +1,44 @@
#
# Be sure to run `pod lib lint vcx.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'vcx'
s.version = '0.0.2'
s.summary = 'The Objective-C wrapper around the libvcx shared library.'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
The ConnectMe mobile app on the iOS platform will call into the libvcx shared library
from Objective-C. This pod is a very thin Objective-C wrapper that allows react native to call
through to the libvcx shared library.
DESC
s.homepage = 'https://www.evernym.com/'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'vcx/wrappers/ios/vcx/LICENSE' }
s.author = { 'yaswanthsvist' => 'iosdev@evernym.com' }
s.source = { :git => 'git@github.com:evernym/sdk.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.ios.deployment_target = '8.0'
s.source_files = '**/vcx/Classes/**/*'
# s.resource_bundles = {
# 'vcx' => ['**/vcx/Assets/*.png']
# }
# s.public_header_files = 'Pod/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
end
@@ -0,0 +1,44 @@
#
# Be sure to run `pod lib lint vcx.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'vcx'
s.version = '0.0.4'
s.summary = 'The Objective-C wrapper around the libvcx shared library.'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
The ConnectMe mobile app on the iOS platform will call into the libvcx shared library
from Objective-C. This pod is a very thin Objective-C wrapper that allows react native to call
through to the libvcx shared library.
DESC
s.homepage = 'https://www.evernym.com/'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'vcx/wrappers/ios/vcx/LICENSE' }
s.author = { 'yaswanthsvist' => 'iosdev@evernym.com' }
s.source = { :git => 'git@github.com:evernym/sdk.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.ios.deployment_target = '8.0'
s.source_files = '**/vcx/Classes/**/*'
# s.resource_bundles = {
# 'vcx' => ['**/vcx/Assets/*.png']
# }
# s.public_header_files = 'Pod/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
end
@@ -0,0 +1,44 @@
#
# Be sure to run `pod lib lint vcx.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'vcx'
s.version = '0.0.7'
s.summary = 'The Objective-C wrapper around the libvcx shared library.'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
The ConnectMe mobile app on the iOS platform will call into the libvcx shared library
from Objective-C. This pod is a very thin Objective-C wrapper that allows react native to call
through to the libvcx shared library.
DESC
s.homepage = 'https://www.evernym.com/'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'vcx/wrappers/ios/vcx/LICENSE' }
s.author = { 'yaswanthsvist' => 'iosdev@evernym.com' }
s.source = { :git => 'git@github.com:evernym/sdk.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.ios.deployment_target = '8.0'
s.source_files = '**/vcx/Classes/**/*'
# s.resource_bundles = {
# 'vcx' => ['**/vcx/Assets/*.png']
# }
# s.public_header_files = 'Pod/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
end
@@ -0,0 +1,46 @@
#
# Be sure to run `pod lib lint vcx.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'vcx'
s.version = '0.0.8'
s.summary = 'The Objective-C wrapper around the libvcx shared library.'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
The ConnectMe mobile app on the iOS platform will call into the libvcx shared library
from Objective-C. This pod is a very thin Objective-C wrapper that allows react native to call
through to the libvcx shared library.
DESC
s.homepage = 'https://www.evernym.com/'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'yaswanthsvist' => 'iosdev@evernym.com' }
#s.source = { :git => 'git@github.com:evernym/sdk.git', :tag => s.version.to_s }
s.source = { :http => 'https://repo.corp.evernym.com/filely/ios/vcx.framework_20180523.1433_universal.zip' }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.ios.deployment_target = '8.0'
s.ios.vendored_frameworks="vcx/vcx.framework"
s.compiler_flags = '-ObjC -lvcx'
# s.resource_bundles = {
# 'vcx' => ['**/vcx/Assets/*.png']
# }
s.public_header_files = 'vcx/vcx.framework/include/*.h', 'vcx/vcx.framework/headers/*.h'
s.ios.vendored_library = 'vcx/vcx.framework/lib/libvcx.a'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
end
@@ -0,0 +1,44 @@
#
# Be sure to run `pod lib lint vcx.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'vcx'
s.version = '0.0.9'
s.summary = 'The Objective-C wrapper around the libvcx shared library.'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
The ConnectMe mobile app on the iOS platform will call into the libvcx shared library
from Objective-C. This pod is a very thin Objective-C wrapper that allows react native to call
through to the libvcx shared library.
DESC
s.homepage = 'https://www.evernym.com/'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'yaswanthsvist' => 'iosdev@evernym.com' }
s.source = { :http => 'https://repo.corp.evernym.com/filely/ios/vcx.framework_20180523.1433_universal.zip'}
s.ios.deployment_target = '8.0'
#s.source_files = '**/vcx/Classes/**/*','**/Example/Classes/**/*'
# s.resource_bundles = {
# 'vcx' => ['**/vcx/Assets/*.png']
# }
s.ios.vendored_frameworks="vcx/vcx.framework"
s.compiler_flags = '-ObjC'
s.public_header_files = 'vcx/vcx.framework/include/*.h'
s.ios.vendored_library = 'vcx/vcx.framework/lib/libvcx.a'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
end
View
@@ -43,6 +43,10 @@ base64 = "0.8.0"
openssl = "0.10"
num-traits = "0.2.0"
rust-indy-sdk = {git = "https://github.com/mikelodder7/rust-indy-sdk.git"}
log-panics = "2.0.0"
[target.'cfg(target_os = "android")'.dependencies]
android_logger = "0.5"
[build-dependencies]
serde = "1.0"
@@ -71,3 +75,7 @@ assets = [
]
maintainer-scripts = "./scripts"
#[profile.release]
debug = true
panic = 'unwind'
incremental = false
View
@@ -56,17 +56,41 @@ struct Contents {
fn main() {
let target = env::var("TARGET").unwrap();
println!("target={}", target);
if target.contains("aarch64-linux-android"){
if let Ok(mode) = env::var("LIBINDY_STATIC") {
let libindy_lib_path = env::var("LIBINDY_DIR").unwrap();
println!("cargo:rustc-link-search=native={}",libindy_lib_path);
println!("cargo:rustc-link-lib=static=indy");
}else if target.contains("aarch64-linux-android") || target.contains("armv7-linux-androideabi") ||
target.contains("arm-linux-androideabi") || target.contains("i686-linux-android") ||
target.contains("x86_64-linux-android") {
let libindy_lib_path = match env::var("LIBINDY_DIR"){
Ok(val) => val,
Err(..) => panic!("Missing required environment variable LIBINDY_DIR")
};
let openssl = match env::var("OPENSSL_LIB_DIR") {
Ok(val) => val,
Err(..) => match env::var("OPENSSL_DIR") {
Ok(dir) => Path::new(&dir[..]).join("/lib").to_string_lossy().into_owned(),
Err(..) => panic!("Missing required environment variables OPENSSL_DIR or OPENSSL_LIB_DIR")
}
};
println!("cargo:rustc-link-search=native={}",libindy_lib_path);
println!("cargo:rustc-link-lib=static=indy");
println!("cargo:rustc-link-search=native={}", openssl);
println!("cargo:rustc-link-lib=static=crypto");
println!("cargo:rustc-link-lib=static=ssl");
}else if target.contains("darwin"){
//OSX specific logic
println!("cargo:rustc-link-lib=indy");
//OSX does not allow 3rd party libs to be installed in /usr/lib. Instead install it in /usr/local/lib
println!("cargo:rustc-link-search=native=/usr/local/lib");
if cfg!(feature = "nullpay") {
println!("cargo:rustc-link-lib=nullpay");
}
}else if target.contains("-linux-"){
//Linux specific logic
println!("cargo:rustc-link-lib=indy");
@@ -0,0 +1,10 @@
## Vcx SDK Android
###Development:
With Docker
- run `build_scripts/android/vcx/build.sh`
Without Docker
- run `build_scripts/android/vcx/build.nondocker.sh`
Oops, something went wrong.

0 comments on commit 20ec04b

Please sign in to comment.