getAndroidHashKey method

Future<String?>? getAndroidHashKey()

Android apps must be digitally signed with a release key before you can upload them to the store. This method helps to get the release key for setup android in facebook portal

Implementation

Future<String?>? getAndroidHashKey() async{
  String? hashKey;
  if(Platform.isAndroid)
    hashKey = await _channel!.invokeMethod('printHashKey') as String?;
  else
    hashKey = null;
  return hashKey;
}