Regarding the first issue, it is required to instantiate the D2 instance before using it (check this section of the docs). Are you getting this error from existing code in the Skeleton app or from code you added later?
I hope this helps you how we managed to do it. In the future we will expose it to let developers use as a library but for now you will need to inspire in our code.
Let me know if you have any doubt.
Hi Julienne,
For the first issue, VĂctor is checking it.
For the second, the org unit, currently we don’t provide it in the skeleton (we will in the future). So for now, what I would do is to copy the code that we have in the capture app and use it in your own application, I don’t have a better solution in short term.
Hi @juliennetrenou,
I can use the skeleton app without any issue (login, sync,…). I tried closing the app and opening again, all good. Which is the exact error you are getting? Can you share a screenshot or the stacktrace? If your app is in a public repo, I can run it and check it out