Consent-String-SDK-Java icon indicating copy to clipboard operation
Consent-String-SDK-Java copied to clipboard

Remove the java.time.Instant dependancy

Open martinbonnin opened this issue 7 years ago • 3 comments

The current code uses java.time.Instant which is only available on java 8 and android 26+.

martinbonnin avatar Jul 17 '18 10:07 martinbonnin

This is discussed already in https://github.com/InteractiveAdvertisingBureau/Consent-String-SDK-Java/issues/21.

I'm keeping this issue open as a pointer for newcomers like me.

martinbonnin avatar Jul 17 '18 11:07 martinbonnin

@martinbonnin I have a working version for Android here: https://github.com/didomi/Consent-String-SDK-Android Waiting for it to be moved to the IAB repo

jawadst avatar Sep 05 '18 16:09 jawadst

@jawadst Thanks ! Ultimately, I ended up writing a shortened version of it in kotlin.

It only supports writing and is not very configurable but it works so far => https://gist.github.com/martinbonnin/70651cf84eb1512d15a87dd290e6afde

martinbonnin avatar Sep 06 '18 08:09 martinbonnin