This is how I pass data
SharedPreferences pref = getApplicationContext().getSharedPreferences("FingerPrint", 0);
SharedPreferences.Editor editor = pref.edit();
editor.putString("fingerImage", encodedWsq);
editor.apply();
And I want to access "fingerImage" data to my nativescript project, that is java files are exported to jar file.