This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 14wAx5r9qhoxyX5pA7W2Eq3CucvgxNDG8y https://explorer.blockstack.org/address/14wAx5r9qhoxyX5pA7W2Eq3CucvgxNDG8y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The user already has an account and is signed in | |
FirebaseUser user = FirebaseAuth.getInstance().getCurrentUser(); | |
if (user != null) { | |
mDatabase.child("userData").runTransaction(new com.google.firebase.database.Transaction.Handler() { | |
@Override | |
public com.google.firebase.database.Transaction.Result doTransaction(com.google.firebase.database.MutableData mutableData) { | |
Object value = mutableData.child(user.getUid()).getValue(); | |
System.out.println("New value : " + value); | |
if (value == null) { |