PalestineDevelopers / trusted_device

Native Device security checks, Rooted/Jailbroken, Not real device, Developer mode is on, On external drive.
BSD 3-Clause "New" or "Revised" License
4 stars 0 forks source link

Tried an emulator and it didn't work (Nox) #4

Open mohu2212 opened 2 years ago

mohu2212 commented 2 years ago

import 'package:flutter/material.dart'; import 'package:carrier_info/carrier_info.dart'; import 'package:palestine_trusted_device/palestine_trusted_device.dart'; class TestSim extends StatefulWidget { const TestSim({Key? key}) : super(key: key);

@override _TestSimState createState() => _TestSimState(); }

class _TestSimState extends State { String issafe="true"; // Platform messages are asynchronous, so we initialize in an async method. Future checkemulator() async { await PalTrustedDevice.check( checkRealDevice: true, // Android + IOS checkDevMode: false, // Android checkOnExternalStorage: false, // Android checkRooted: false, onFail: () { // Not Secure Env Detected setState(() { issafe="Not Secure Env Detected"; }); print("Not Secure Env Detected"); }, ); } @override void initState() { // TODO: implement initState super.initState(); checkemulator(); } @override Widget build(BuildContext context) { return Scaffold( body: SafeArea( child: Center( child: Container( child: Center( child: Text( issafe ), ), ), ), ), ); } } Screenshot (57) Screenshot (58)

emrekaplanek commented 2 years ago

waiting

mohu2212 commented 2 years ago

I don't understand the meaning of the message.

On Thu, 10 Mar 2022, 2:05 pm Emre Kaplan, @.***> wrote:

waiting

— Reply to this email directly, view it on GitHub https://github.com/PalestineDevelopers/trusted_device/issues/4#issuecomment-1063984272, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOGIWG45XS5CLXUCGPSACMTU7HQPTANCNFSM5L2NP2UA . You are receiving this because you authored the thread.Message ID: @.***>

msayed-net commented 2 years ago

The issue requires windows environment to test various types of emulators, and we use mac/linux, so it's not possible to work on now,

If anyone wants to contribute to that, that would be great...

msayed-net commented 2 years ago

Please test v0.1.0, it could be fixed.

waiting for your response.

mohu2212 commented 2 years ago

The problem has already been solved. Thank you to the team based on this work. ❤️😘😍

On Sun, Apr 10, 2022, 5:17 AM Mohamed Sayed @.***> wrote:

Please test v0.1.0, it could be fixed.

waiting for your response.

— Reply to this email directly, view it on GitHub https://github.com/PalestineDevelopers/trusted_device/issues/4#issuecomment-1094166505, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOGIWG5GMKH5F2E2DMGV7CDVEJB6DANCNFSM5L2NP2UA . You are receiving this because you authored the thread.Message ID: @.***>

msayed-net commented 2 years ago

Thanks for your feedback.

Thanks for contributing @CoachMorta, issue is solved.

mohu2212 commented 2 years ago

After work unfortunately some of the real devices are considered emulator

On Sun, 17 Apr 2022, 9:40 pm Mohamed Sayed, @.***> wrote:

Closed #4 https://github.com/PalestineDevelopers/trusted_device/issues/4 .

— Reply to this email directly, view it on GitHub https://github.com/PalestineDevelopers/trusted_device/issues/4#event-6444959874, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOGIWG4OWJ5EDFD5PRURPKTVFRSJRANCNFSM5L2NP2UA . You are receiving this because you authored the thread.Message ID: @.*** com>

lozan1 commented 2 years ago

سلام عليكم هل هذا بكج راح يشتغل بنسبه كبيره على اكتشاف محاكيات يعني اذا استخدمه يضمن كل انواع vm وشكرا الك

msayed-net commented 2 years ago

After work unfortunately some of the real devices are considered emulator On Sun, 17 Apr 2022, 9:40 pm Mohamed Sayed, @.> wrote: Closed #4 <#4> . — Reply to this email directly, view it on GitHub <#4 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOGIWG4OWJ5EDFD5PRURPKTVFRSJRANCNFSM5L2NP2UA . You are receiving this because you authored the thread.Message ID: @. com>

please add more details

mohu2212 commented 2 years ago

للاسف بيعتبر بعض الاجهزه الحقيقية محاكي

On Sun, May 29, 2022, 2:11 AM lozan1 @.***> wrote:

سلام عليكم هل هذا بكج راح يشتغل بنسبه كبيره على اكتشاف محاكيات يعني اذا استخدمه يضمن كل انواع vm وشكرا الك

— Reply to this email directly, view it on GitHub https://github.com/PalestineDevelopers/trusted_device/issues/4#issuecomment-1140347235, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOGIWG4OTTSHZ5PMTNLO5IDVMKY3LANCNFSM5L2NP2UA . You are receiving this because you authored the thread.Message ID: @.***>

msayed-net commented 2 years ago

please provide config you used and info about device to investigate

mohu2212 commented 2 years ago

The package consider some devices emulator

On Sun, May 29, 2022, 12:59 PM Mohamed Sayed @.***> wrote:

please provide config you used and info about device to investigate

— Reply to this email directly, view it on GitHub https://github.com/PalestineDevelopers/trusted_device/issues/4#issuecomment-1140424567, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOGIWG5FOSEYVIH5X2O62Y3VMNE2BANCNFSM5L2NP2UA . You are receiving this because you authored the thread.Message ID: @.***>

msayed-net commented 2 years ago

Do you use this config options !

Screen Shot 2022-05-29 at 2 33 46 PM

mohu2212 commented 2 years ago

Yes

On Sun, May 29, 2022, 2:35 PM Mohamed Sayed @.***> wrote:

Do you use this config options !

[image: Screen Shot 2022-05-29 at 2 33 46 PM] https://user-images.githubusercontent.com/25801517/170868637-ee6447a6-2b9c-43fa-9393-3ff406b4719e.png

— Reply to this email directly, view it on GitHub https://github.com/PalestineDevelopers/trusted_device/issues/4#issuecomment-1140440442, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOGIWGZI2MIG2AORVTRZP6LVMNQBLANCNFSM5L2NP2UA . You are receiving this because you authored the thread.Message ID: @.***>