Done
Details
Assignee
KrishnaKrishnaReporter
KrishnaKrishnaStart date
Mar 02, 2018End date
Apr 03, 2018Story Points
4Components
Priority
Major
Details
Details
Assignee
Krishna
KrishnaReporter
Krishna
KrishnaStart date
Mar 02, 2018
End date
Apr 03, 2018
Story Points
4
Components
Priority
Created March 2, 2018 at 8:17 AM
Updated August 27, 2018 at 4:32 PM
Resolved June 4, 2018 at 12:49 PM
First, rebase PR https://github.com/maidsafe/safe_client_libs/pull/615 on top of the
master
branch in SAFE Client Libs.The inconsistencies in the auto generated bindings must be addressed,
SafeApp.AppBindings/AppBindings.Manual.cs
The Uint has a typo in the attribute definitions. It should be UInt. Example, [MonoPInvokeCallback(typeof(UintAuthGrantedCb))] should be [MonoPInvokeCallback(typeof(UIntAuthGrantedCb))]
UintAuthGrantedNativeCb is not a valid type. Should be UintAuthGrantedCb
SafeApp.AppBindings/AppBindings.cs
MDataEntriesForEachNative function is not used. Can be removed.
SafeApp.Utilities/AppTypes.cs
Add attribute [assembly: InternalsVisibleTo("SafeApp.MockAuthBindings")]
SafeApp.Utilities/AppTypes.Manual.cs
Add [PublicApi] attribute for the types
Add using JetBrains.Annotations;
Remove using System.Runtime.InteropServices;
SafeApp.Utilities/IAppBindings.cs
Remove using System.Runtime.InteropServices;
SafeApp.Utilities/BindingUtils.cs
Change int to var in for loop
Add validation if len = 0 in CopyToByteArray(). Null pointer can be returned if the value is deleted in a MutableData
```
Manual files for Authenticator are not generated. The manual files can be used from AuthBinding.Manual.cs and IAuthBindings.Manual.cs