Bernardo
 
I made it working now, on android using that .aar but i changed to full c code , i noticed that the instruction or example is a bit outdated for C language ,
 
i didnt rename the library , i just follow the instruction for android studio , i downloaded the .aar from flutter instruction , then i just use the code from android studio to create a c++ wrapper
 
anyways i noticed when the database was auto created from server for example 
file:app.db?node=primary&bind=tcp://0.0.0.0:1234
 
it was created successfully but the db is corrupted when i tried to open the db using sqlite3 then i run .tables the response is "the file is not a database"
 
i just need to recreate the app.db file using sqlite3 command ,  then create the table there then run my node js script , then it works .
 
for the autogenerated db from the wrapper without recreating , i can just stay the corrupted file but i needed to create 1 secondary database and attach it to the server ,  then i run the create table script from the secondary database and create another secondary node and attach it with the same server, the 2 secondary database are readable (not corrupted) only the server/primary is corrupted
 
a 1:1 is not recommended for litesync if the primary is autocreated using the wrapper because of the bugs 
i simulated a 1:1 , 1 primary and 1 secondary ,
 
the primary is autocreated (tested in better sqlite3 node js , and litesync for python) but due to bugs it is corrupted
 
then a secondary connected to primary
 
regardless of primary being corrupted , i run several insert scripts assuming it that it can insert data and send it to the secondary . but it doesn't work .  it doesn't sync but it was successfully run the insert script .
final thought : 
    to make a p2p works i need another secondary to sync so 1:2 ratio is needed for litesync