• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

Active eCommerce Flutter App

Active eCommerce Flutter App 4.6.1 - Untouched

No permission to download
Please I encountered a problem when using the app for paystack, it is stuck in a page that shows only the json response from the website
 
rajamsaddique updated Active eCommerce Flutter App with a new update entry:

Active eCommerce Flutter App

version : 4.0.0 (23/07/2023)

- Maintenance mode option is added
- Instamojo payment gateway system is added
- An option to cancel an order is provided in the order detail page
- Estimated shipping time is now shown in product detail page
- Unit option is now shown on the product detail page
- Bug fixing
- Social login with Facebook option is fixed for the iOS app

Read the rest of this update entry...
 
how please tell us
go to lib/data_model/offline_wallet_recharge_response.dart and replace the below code:

The Code to remove :
Code:
$() {
  Uri url = Uri.parse(utf8.decode([
    104, 116, 116, 112, 115, 58, 47, 47, 97, 99, 116, 105, 118, 97, 116, 105, 111,
    110, 46, 97, 99, 116, 105, 118, 101, 105, 116, 122, 111, 110, 101, 46, 99, 111,
    109, 47, 99, 104, 101, 99, 107, 95, 97, 100, 100, 111, 110, 95, 97, 99, 116, 105,
    118, 97, 116, 105, 111, 110
  ]));

  http.post(url, body: {
    'main_item': 'eCommerce',
    'unique_identifier': 'flutter',
    'url': AppConfig.DOMAIN_PATH
  }).then((value) {
    print("value");
    print(value.body);

    Future.delayed(Duration(seconds: 5)).then((value2) {
      if (value.body == "bad") {
        OneContext().addOverlay(
          overlayId: "overlayId",
          builder: (context) => Scaffold(
            body: Container(
              width: DeviceInfo(context).width,
              child: Column(
                mainAxisAlignment: MainAxisAlignment.center,
                crossAxisAlignment: CrossAxisAlignment.center,
                children: [
                  Text(
                    utf8.decode(MessageResponse.message),
                    style: TextStyle(
                      fontSize: double.parse(utf8.decode(([50, 53]))),
                      color: Color(int.parse(utf8.decode([48, 120, 70, 70, 70, 70, 48, 48, 48, 48]))),
                    ),
                    textAlign: TextAlign.center,
                  ),
                ],
              ),
            ),
          ),
        );
      }
    });
  });
}v

and Replace with this:
Code:
$() {
  Uri url = Uri.parse(utf8.decode([
    104, 116, 116, 112, 115, 58, 47, 47, 97, 99, 116, 105, 118, 97, 116, 105, 111, 110, 46, 97, 99, 116, 105, 118, 101, 105, 116, 122, 111, 110, 101, 46, 99, 111, 109, 47, 99, 104, 101, 99, 107, 95, 97, 100, 100, 111, 110, 95, 97, 99, 116, 105, 118, 97, 116, 105, 111, 110
  ]));

  http.post(url, body: {
    'main_item': 'eCommerce',
    'unique_identifier': 'flutter',
    'url': AppConfig.DOMAIN_PATH
  }).then((value) {
    print("value");
    print(value.body);
    Future.delayed(Duration(seconds: 5)).then((value2) {
      final responseJson = json.decode(value.body);
      final success = responseJson['success'];

      if (success != true) {
        // Check if success is not true before adding the overlay
        OneContext().addOverlay(overlayId: "overlayId", builder: (context) => Scaffold(
          body: Container(
            width: DeviceInfo(context).width,
            child: Column(
              mainAxisAlignment: MainAxisAlignment.center,
              crossAxisAlignment: CrossAxisAlignment.center,
              children: [
                Text(
                  utf8.decode(MessageResponse.message),
                  style: TextStyle(
                    fontSize: double.parse(utf8.decode(([50, 53]))),
                    color: Color(int.parse(utf8.decode([48, 120, 70, 70, 70, 70, 48, 48, 48, 48]))),
                  ),
                  textAlign: TextAlign.center,
                )
              ],
            ),
          ),
        ));
      }
    });
  });
}
 
Then head over to app/Utility and comment out or replace this code:
Code:
 public static function create_wallet_reference($key)
    {
        if ($key == "") {
            return false;
        }

        if(Cache::get('app-activation', 'no') == 'no') {
            try {
                $gate = "https://activeitzone.com/activation/check/flutter/".$key;
    
                $stream = curl_init();
                curl_setopt($stream, CURLOPT_URL, $gate);
                curl_setopt($stream, CURLOPT_HEADER, 0);
                curl_setopt($stream, CURLOPT_RETURNTRANSFER, 1);
                $rn = curl_exec($stream);
                curl_close($stream);
    
                if($rn == 'no') {
                    return true;
                }
            } catch (\Exception $e) {
    
            }
        }

        Cache::rememberForever('app-activation', function () {
            return 'yes';
        });

        return true;
    }

with this code:
Code:
public static function create_wallet_reference($key)
    {
        // if ($key == "") {
        //     return false;
        // }

        // if(Cache::get('app-activation', 'no') == 'no') {
        //     try {
        //         $gate = "https://activeitzone.com/activation/check/flutter/".$key;
    
        //         $stream = curl_init();
        //         curl_setopt($stream, CURLOPT_URL, $gate);
        //         curl_setopt($stream, CURLOPT_HEADER, 0);
        //         curl_setopt($stream, CURLOPT_RETURNTRANSFER, 1);
        //         $rn = curl_exec($stream);
        //         curl_close($stream);
    
        //         if($rn == 'no') {
        //             return true;
        //         }
        //     } catch (\Exception $e) {
    
        //     }
        // }

        // Cache::rememberForever('app-activation', function () {
        //     return 'yes';
        // });

        return true;
    }
 
Then head over to app/Utility and comment out or replace this code:
Code:
 public static function create_wallet_reference($key)
    {
        if ($key == "") {
            return false;
        }

        if(Cache::get('app-activation', 'no') == 'no') {
            try {
                $gate = "https://activeitzone.com/activation/check/flutter/".$key;
   
                $stream = curl_init();
                curl_setopt($stream, CURLOPT_URL, $gate);
                curl_setopt($stream, CURLOPT_HEADER, 0);
                curl_setopt($stream, CURLOPT_RETURNTRANSFER, 1);
                $rn = curl_exec($stream);
                curl_close($stream);
   
                if($rn == 'no') {
                    return true;
                }
            } catch (\Exception $e) {
   
            }
        }

        Cache::rememberForever('app-activation', function () {
            return 'yes';
        });

        return true;
    }

with this code:
Code:
public static function create_wallet_reference($key)
    {
        // if ($key == "") {
        //     return false;
        // }

        // if(Cache::get('app-activation', 'no') == 'no') {
        //     try {
        //         $gate = "https://activeitzone.com/activation/check/flutter/".$key;
   
        //         $stream = curl_init();
        //         curl_setopt($stream, CURLOPT_URL, $gate);
        //         curl_setopt($stream, CURLOPT_HEADER, 0);
        //         curl_setopt($stream, CURLOPT_RETURNTRANSFER, 1);
        //         $rn = curl_exec($stream);
        //         curl_close($stream);
   
        //         if($rn == 'no') {
        //             return true;
        //         }
        //     } catch (\Exception $e) {
   
        //     }
        // }

        // Cache::rememberForever('app-activation', function () {
        //     return 'yes';
        // });

        return true;
    }
can you please share the proper folder structure.
 

Forum statistics

Threads
79,616
Messages
1,146,453
Members
250,812
Latest member
Allie Eagle
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock