You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.
Current Behavior
When I change my RevenueCat api key value and add a custom action to main.dart in FF desktop, then hot reload, restart, or stop and restart a test run on the simulator, the main.dart file in ~/Library/Application Support/io.flutterflow.prod.mac/tidybook_mobile_app/lib/main.dart does not reflect the changes.
More detail: I noticed this issue when changing my RevenueCat api key to deploy my production environment.
Before the latest FF desktop update my subscriptions were working correctly in both my development and production environments, which requires changing the RevenueCat key manually when you switch environments.
After the update, I was developing in dev, deployed dev to Testflight, and subscriptions were working. Then I changed the environment to production, manually changed the RevenueCat key, and did a test run on the simulator. This resulted in a RevenueCat incorrect configuration error.
I checked the built main.dart in ~/Library/Application Support/io.flutterflow.prod.mac/tidybook_mobile_app/lib/main.dart and saw that it still had the development api key.
I have deleted ~/Library/Application Support/io.flutterflow.prod.mac/tidybook_mobile_app and rebuilt and it still did not get updated.
Expected Behavior
When I change my RevenueCat api key value and add a custom action to main.dart in FF desktop, then hot reload, restart, or stop and restart a test run on the simulator, the main.dart file in ~/Library/Application Support/io.flutterflow.prod.mac/tidybook_mobile_app/lib/main.dart gets updated with the changes.
Steps to Reproduce
On the Mac desktop FF app, Change the Revenue cat api key
Hot reload, restart, or stop and re-run on a simulator
Check ~/Library/Application Support/io.flutterflow.prod.mac/tidybook_mobile_app/lib/main.dart ; it will not have the new value
Reproducible from Blank
The steps to reproduce above start from a blank project.
Hi there! We made some updates yesterday that were affecting the loading and updating of main.dart. Could you please try again and let us know if it works for you now?
I updated FF Mac desktop to version 5.3.7, ran a build, and it did not fix it. I also tried deleting the ~/Library/Application Support/io.flutterflow.prod.mac/tidybook_mobile_app folder completely and starting a new test run to rebuild - but it did not update ~/Library/Application Support/io.flutterflow.prod.mac/tidybook_mobile_app/lib/main.dart.
The main.dart files shown in the FF mac desktop app and the FF web app on Chrome both show the correct values for the revenue cat api key and the added custom action. The built main.dart file is unchanged. (Same as the original screenshots I attached).
I messed around a lot and at one point I edited the file through the web app, then went back and did a build on the desktop app, and it got the updates. But updating main.dart is still broken on the desktop app. I just changed the revenue cat key back to my dev key on desktop, built, and now it still has the prod key.
Summary: updating the revenue cat key and main.dart file is still broken on the desktop app. There seems to be some workaround of making edits on web and then building on desktop that can get it to pick up changes but I haven't tested that repeatedly.
Apologies for the delayed response! Just wanted to follow up and let you know that I haven't been able to reproduce the issue so far. I'm planning to run a few more tests and will keep you updated with any findings.
Can we access your project?
Current Behavior
When I change my RevenueCat api key value and add a custom action to main.dart in FF desktop, then hot reload, restart, or stop and restart a test run on the simulator, the main.dart file in ~/Library/Application Support/io.flutterflow.prod.mac/tidybook_mobile_app/lib/main.dart does not reflect the changes.
More detail: I noticed this issue when changing my RevenueCat api key to deploy my production environment.
Expected Behavior
When I change my RevenueCat api key value and add a custom action to main.dart in FF desktop, then hot reload, restart, or stop and restart a test run on the simulator, the main.dart file in ~/Library/Application Support/io.flutterflow.prod.mac/tidybook_mobile_app/lib/main.dart gets updated with the changes.
Steps to Reproduce
Reproducible from Blank
Bug Report Code (Required)
IT40l/H124Z2rsNK+Kryb8Ewvyk5JVw4aIIRjsBraCosfZT2BLMcec/RVERuZ7DiTHxDMGGjr2oW08qOueDlGPArFAWsGbV8ws1uTA//XT+QRYy1FJWgdEF9GfJYC26Oy6ujmBB5COpZdVYl7VOyf9+uTnTXJKLNOW48D6/LZO4=
Visual documentation
Environment
Additional Information
This is blocking me from releasing. I can't release any new app versions until this is fixed.
The text was updated successfully, but these errors were encountered: