Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working in iOS17 #303

Open
spencer0124 opened this issue Sep 22, 2023 · 0 comments
Open

Not working in iOS17 #303

spencer0124 opened this issue Sep 22, 2023 · 0 comments

Comments

@spencer0124
Copy link

After uploading the real device with ios17, Lottiefile is not seen on the real device.

I can see lottie file on the iphone15 ios simulator, but I cannot check it when debugging on the actual device or checking it through testflight after the build is completed. (in picture: Refresh button at bottom right)

It seems to work normally in the Android simulator.
There appears to be a conflict with ios17.

Also, it works fine with the same code in ios16

floatingActionButton: Align(
        alignment: Alignment.bottomRight,
        child: GestureDetector(
          onTap: () {
            if (controller.refreshTime.value > 1 &&
                !controller.preventAnimation.value) {
              controller.preventAnimation.value = true;
              controller.refreshData();
              Future.delayed(const Duration(milliseconds: 1100), () {
                controller.preventAnimation.value = false;
              });
            } else {
              print(
                  'else, ${controller.refreshTime.value} / ${controller.preventAnimation.value}');
            }
          },
          child: Container(
            decoration: BoxDecoration(
              shape: BoxShape.circle,
              color: Colors.blueGrey[700],
            ),
            width: 53,
            height: 53,
            child: Align(
              alignment: Alignment.center,
              child: Lottie.asset(
                'assets/lottie/refresh_white.json',
                repeat: false,
                controller: controller.animationController,
                width: 60, // Adjust the size as needed
                height: 60, // Adjust the size as needed
                fit: BoxFit.fill,
              ),
            ),
          ),
        ),
      ),

cap1
cap2
cap3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant