-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS Wrapper #663
iOS Wrapper #663
Conversation
PaulRps
commented
Nov 24, 2022
- Renamed ConnectMeVcx to VcxAPI
- Added type to parameters on function setLogger in VcxLogger
- Added/exposed new functions to VcxAPI (equalized like in wrappers/node/src/rustlib.ts) related to OOB, Proof, CredDef, Schema etc.
- Created VcxWrapperCallbacks.(h/m) to organize and reduce the code of VcxAPI (old ConnectMeVcx) file
- Organized some imports and cleaned some code
- Moved some type definitions from VcxAPI (old ConnectMeVcx) to VcxTypes
- Redefined VcxHandle type to be unsigned int
- Redefined type of all handles (connection, proof etc.) parameters on input and completion functions, in VcxAPI, to NSUInteger
- Replaced deprecated function vcx_connection_create_with_connection_request by vcx_connection_create_with_connection_request_v2 in libvcx.h and VcxAPI
…bvcx.h removed deprecated function vcx_connection_create_with_connection_request from libvcx.h replaced deprecated function in VcxAPI.h replaced NSInteger type to NSUInteger in VcxAPI.h added type to parameter on setLogger function in VcxLogger.h
Codecov Report
@@ Coverage Diff @@
## main #663 +/- ##
===========================================
- Coverage 63.82% 47.85% -15.98%
===========================================
Files 213 212 -1
Lines 20944 15450 -5494
Branches 4688 3008 -1680
===========================================
- Hits 13368 7393 -5975
- Misses 3840 5770 +1930
+ Partials 3736 2287 -1449
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
In the meantime @PaulRps , can you make sure your commits are signed off? The DCO check is failing https://github.com/hyperledger/aries-vcx/pull/663/checks?check_run_id=9694983151 For DCO check to pass, esentially every contain following construct:
at the end of commit message, for example like on this commit here You can disregard failing
we'll have to fix our CI for this one |
Hi @Patrik-Stas, i saw @kukgini's commit, i can wait to be merged and resolve conflicts later. The changes Kukgini did, i did too. So, about the commit signing i'll handle soon. |
I beleive @PaulRps 's PR is more desirable direction And reflecting more API changes that have been made in the meantime. My PR is just to hide some unnecessary exposure and convert handle to a more abstract data type (NSNumber). Anyway, I still think that It would be better to use NSNumber than NSUInteger. Is it ok that I drop my PR and make another PR based on @PaulRps 's PR? |
Signed-off-by: PaulRps <ricardopaulo18@hotmail.com>
Hi guys, i just have fixed the commit signing error, i did not set my email in gpg key before, that was the problem. @kukgini i can change the type of handles to NSNumber, it's ok to me, in my flutter demo i'm using it. |
@PaulRps I dropped my PR. I would appreciate it if you could change the data type to NSNumber. |
…on responses int and uint in VcxWrapperCallbacks Signed-off-by: PaulRps <ricardopaulo18@hotmail.com>
it's done, @kukgini. |
Looks good to me @PaulRps this is nice cleanup and reorg! Also happy to see contributors collaborating together :-) |