# Uncomment the line if you want fastlane to automatically update itself
#update_fastlane

default_platform(:android)

platform :android do
  home=sh('echo $HOME').strip!
  latest_meta_version=sh("ls #{home}/.pub-cache/hosted/pub.dev | grep flutter_heyteacher_meta |  tail -n 1").strip!
  project_meta_root="#{home}/.pub-cache/hosted/pub.dev/#{latest_meta_version}"

  import("#{project_meta_root}/fastlane/Fastfile")
end