make sure version
brew install watchman
sudo gem install cocoapods
| # Sample workflow for building and deploying a Next.js site to GitHub Pages | |
| # | |
| # To get started with Next.js see: https://nextjs.org/docs/getting-started | |
| # | |
| name: Check NextJs build | |
| on: | |
| # Runs on pushes targeting the default branch | |
| push: | |
| branches: ["main"] |
| /// flutter_background_geolocation Hello World | |
| /// https://github.com/transistorsoft/flutter_background_geolocation | |
| //// | |
| // For pretty-printing location JSON. Not a requirement of flutter_background_geolocation | |
| // | |
| import 'dart:convert'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_background_geolocation/flutter_background_geolocation.dart' |
| Event track | |
| ``` | |
| { | |
| "country": "VN", | |
| "af_timestamp": "1698172413744", | |
| "appsflyerKey": "m********************k", | |
| "af_events_api": "1", | |
| "isFirstCall": "false", | |
| "registeredUninstall": false, | |
| "targetSDKver": 33, |
make sure version
brew install watchman
sudo gem install cocoapods
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| import 'dart:io'; | |
| import 'dart:async'; | |
| import 'dart:convert' show utf8; | |
| import 'package:mysql1/mysql1.dart'; | |
| import 'AccountModel.dart'; | |
| List<Map<String, dynamic>> convertToMapUser(Results result) { | |
| List<Map<String, dynamic>> users = new List(); | |
| for (var row in result) { | |
| users.add(new AccountModel(row[0], row[1].toString()).toJson()); |
| # create assets folder in the current project | |
| $ mkdir android/app/src/main/assets | |
| # create bundle script | |
| $ react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/ | |
| # execute command to run android to create debug apk | |
| $ react-native run-android | |
| # Or change to android folder |
| package io.flutter.plugins; | |
| import io.flutter.plugin.common.PluginRegistry; | |
| import io.flutter.plugins.firebaseanalytics.FirebaseAnalyticsPlugin; | |
| import io.flutter.plugins.firebaseauth.FirebaseAuthPlugin; | |
| import io.flutter.plugins.firebase.core.FirebaseCorePlugin; | |
| import com.peerwaya.flutteraccountkit.FlutterAccountKitPlugin; | |
| import com.roughike.facebooklogin.facebooklogin.FacebookLoginPlugin; | |
| import com.dexterous.flutterlocalnotifications.FlutterLocalNotificationsPlugin; | |
| import io.flutter.plugins.googlemaps.GoogleMapsPlugin; |
| <?php | |
| namespace App\Http\Controllers; | |
| use Illuminate\Http\Request; | |
| use App\Http\Controllers\Controller; | |
| use Illuminate\Support\Facades\Auth; | |
| class APIController extends Controller | |
| { |