Update codebase
This commit is contained in:
@@ -3,7 +3,7 @@ import 'package:flutter/foundation.dart';
|
||||
import 'package:native_geofence/native_geofence.dart';
|
||||
import 'package:http/http.dart' as http;
|
||||
import 'package:get_storage/get_storage.dart';
|
||||
import 'package:siro_rider/constant/links.dart';
|
||||
import 'package:tripz_rider/constant/links.dart';
|
||||
|
||||
// Top-level function for background execution
|
||||
@pragma('vm:entry-point')
|
||||
@@ -33,7 +33,7 @@ Future<void> geofenceBackgroundCallback(GeofenceCallbackParams params) async {
|
||||
}
|
||||
}
|
||||
|
||||
class SiroGeofencingService {
|
||||
class TripzGeofencingService {
|
||||
static final _storage = GetStorage();
|
||||
|
||||
static Future<void> initAndStart() async {
|
||||
|
||||
@@ -22,7 +22,7 @@ class RideLiveNotification {
|
||||
final android = AndroidNotificationDetails(
|
||||
'live_ride_tracking', // channel id
|
||||
'Ride Tracking', // channel name
|
||||
channelDescription: 'Live updates for the current Siro ride',
|
||||
channelDescription: 'Live updates for the current Tripz ride',
|
||||
importance: Importance.max,
|
||||
priority: Priority.high,
|
||||
ongoing: true, // إشعار ثابت
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import 'dart:async';
|
||||
import 'dart:convert';
|
||||
import 'dart:io';
|
||||
import 'package:siro_rider/print.dart';
|
||||
import 'package:tripz_rider/print.dart';
|
||||
|
||||
class SignalingService {
|
||||
WebSocket? _socket;
|
||||
|
||||
Reference in New Issue
Block a user