Open renzhe20092584 opened 5 years ago
I have the same problem. Report an error: Target of URI doesn't exist: 'package:noteslock/data/user_model.dart'.dart(uri_does_not_exist)
I have the same problem. Report an error: Target of URI doesn't exist: 'package:noteslock/data/user_model.dart'.dart(uri_does_not_exist)
// for testing make UserModel Class import 'package:firebase_admob/firebase_admob.dart'; const String testDevice = 'YOUR_DEVICE_ID';
class UserModel { static String username = 'userName'; static String userpass = 'UserPass'; static String currentBookName = 'current book name'; static String aboutApp = 'about app'; static String developerNote1 = 'Developer Note1'; static int currentBookId = 0; String appID = 'ca-app-pub-3940256099942544~3347511713';
static const adIntesUnitID = "ca-app-pub-3940256099942544/1033173712";
InterstitialAd interstitialAd;
static const MobileAdTargetingInfo targetingInfo = MobileAdTargetingInfo(
testDevices: testDevice != null ?
InterstitialAd createInterstitialAd() { return InterstitialAd( adUnitId: adIntesUnitID, targetingInfo: targetingInfo, listener: (MobileAdEvent event) { if (event == MobileAdEvent.failedToLoad) { } else if (event == MobileAdEvent.closed) { } }, ); }
}
thanks