Ionic Firebase storage downloadURL

Hi guys,
i have some problem with URL address to my file. I storage image in Firebase Storage.
So, i can get URL address to my filme and I can typing URL on console but i cant assign as variable. I have no idea what is wrong.

import { Component, ViewChild } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';
import { storage } from 'firebase';
import { AngularFireAuth } from 'angularfire2/auth'

import { Camera, CameraOptions } from "@ionic-native/camera";
import { ToastController } from "ionic-angular";

  selector: 'page-home',
  templateUrl: 'home.html'

export class HomePage {
  @ViewChild('myimg') myImgElement;
  bigImg = ''; 
  list = [];
  public myPhotosRef: any;

  constructor(private ofAuth:AngularFireAuth, 
    private camera: Camera,public navCtrl: NavController, public navParams: NavParams, private _tc: ToastController) {
  async getImage(){
    var storageRef = storage().ref('');
    var downloadedURL;
    storageRef.getDownloadURL().then(function(url) {
	  this.downloadedURL = url;
  async takePhotoViaGallery(){
  async takePhotoViaCamera(){
  ionViewDidLoad() {   


Maybe its scope problem or something?
i try use .toString(), but its nothing change.

this.downloadedURL = url.toString();

So, anyone know what is wrong? Thanks for any suggestions.

error code:

could you solve it? I have the same problem