Go to pubspec.yaml and add dependency from here
app_icon needs to be a added as a drawable resource to the Android head project. Path should be as follows
using UnityEngine; | |
using System.Collections; | |
public class RequestService : MonoBehaviour | |
{ | |
public string GetUrl = "http://hmkcode.appspot.com/rest/controller/get.json"; | |
public string PostUrl = "http://androidexample.com/media/webservice/httppost.php"; | |
public string textRetrieved; |
// Canvase should be Screen Space - Camera | |
// Attach a Event Trigger Script to image you want to Drag Drop | |
// Add Begin Drag and Drap Event Listener | |
// Attach this script to that image | |
using UnityEngine; | |
using UnityEngine.UI; | |
using System.Collections; | |
using UnityEngine.EventSystems; |
Go to pubspec.yaml and add dependency from here
app_icon needs to be a added as a drawable resource to the Android head project. Path should be as follows
void main() { | |
print(emailSeasonData()); | |
} | |
Season emailSeasonData() { | |
List<Level> levelList = []; | |
List<LevelCard> levelCardList = []; | |
// ----------------------CODE BEGIN HERE---------------------- // |
using UnityEngine; | |
using System.Collections; | |
public class MySingletonClass : MonoBehaviour { | |
/// Static instance of Singleton Class which allows it to be accessed by any other script | |
private static MySingletonClass _instance = null; | |
/// <summary> | |
/// Gets the instance of the Singleton Class |
Use the following link for detailed guide.
Create firebase project and enable analytics
Create Android Project with your package name and nickname like (hackbot android). Download google-services.json file and Move it into the android/app director
keytool -list -v -alias key -keystore /Users/nooralibutt/development/FlutterWorkspace/hackbot/key123456.jks
// Unity Ad Controller for multiple Ad Networks | |
// Copyrights SKill Knight Studios 2015 | |
// Author: Noor Ali Butt | |
// v1.0 | |
using UnityEngine; | |
using UnityEngine.UI; | |
using System.Collections; | |
using ChartboostSDK; | |
using GoogleMobileAds.Api; |
Add following strings in strings.dart
file
import 'dart:async'; | |
import 'dart:io'; | |
import 'package:app_tracking_transparency/app_tracking_transparency.dart'; | |
import 'package:easy_ads_flutter/easy_ads_flutter.dart'; | |
import 'package:fake_call/ad_settings/ad_setting.dart'; | |
import 'package:fake_call/utilities/ad_id_manager.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:unity_ads_plugin/unity_ads_plugin.dart'; |