Flutter migration from Windows to Mac - macos

I have developed a Flutter Mobile application on Windows 10 environment. I am using Firebase with services like Firestore, push notifications, storage and Authentication.
I have not done anything for IOS so far. I am planning to have a Mac machine in cloud and start the IOS related changes there. I have below questions.
I want to have my code at both the places synced so that I can work on windows and Mac. Is there any way to do that securely?
What editor I should use on Mac for IOS and Android development?
Also what are the other things I need to take care?
Thank you in Advance

for syncing:
git, period! Flutter will take care of the rest
for IDE:
we swear by Intellij as you will need it if you decide to port an android version of your app. With Intellij you can even sync plugins & IDE settings across multiple PCs

Related

Push Notifications on Windows Desktop Apps

we are currently writing an Cross-Plattform Application for Android, iOS and Desktop / Windows with Flutter.
Our Application relies on Push Notifications to trigger actions in our application, which works perfectly fine on Android and iOS. On Windows we ship our application with an InnoSetup-Installer as an .exe. Is it possible to use the Microsoft Service (WNS) for sending Push Notifications to our application? Or is this only possible for Windows Store Applications?
Thank you and best regards
Langohr
There seems to be a plugin https://pub.dev/packages/quick_notify for that. The repo seems to be archived, though. So not sure about it. It does support Windows notifications.

Should I rent a virtual Mac for Flutter development?

I'm going to begin working on cross-developing an app for iOS and Android using Flutter. I have a Windows computer and use Android Studio for mobile development (new to Flutter, but have experience with Android development).
I am going to need to use a Mac at the very least to set up Firebase dependencies in the app, but it is unclear to me how much time I will actually need access to a Mac. I don't want to overpay.
When developing an app with Flutter, do I always need to use XCode to test run the app on an iOS device, even if I have a physical iPod in front of me? For instance, I can use my Android phone with USB debugging to run/test the app on my phone thru Android Studio. Can I do the same thing with an iPod and Android Studio, or does it have to be done through XCode?
Thanks.
If you have a good PC/Laptop with good resources you can use VM Box and install macOS in it. After that you can use it to testing for iOS purposes.
Considering a rent on MAC is probably isn't a good option.
Renting will cost alot and will even go over budget if time is not spent properly. Therefore, in my opinion it would be best to get an old mac mini and maybe upgrade it if you have the budget

IPA file unable to run on colleague's phone or untethered from workstation using Meteorjs+ReactJS+Mongodb

I am new to IOS development and have come across an issue and need some help.
I am trying to create an iOS application to target to work on iPhones. I am using MeteorJS, ReactJS with MongoDB for a database.
When I run the ‘meteor run ios’ command I am able to get the Xcode project.
I am also able to load the Xcode project within Xcode and generate the IPA file to demo on my iPhone using ITunes from my MacBook Pro.
When I try to run the application from my iPhone everything works - meaning I was able to connect to the local database (localhost:3001 mongodb). Also, the tests on the application only work when my phone is connected to the Mac.
Now, when I try to export the application and want a colleague to test the iPA file does not work. The IPA file gets installed on the colleague’s phone, however application does not work.
I think I’ve followed the process as required for Adhoc Provisioning profiles however I am not sure whether Im doing this right - because possibly the database is not being packaged with the IPA file?
Could someone please help / Guide?
When running a build produced by meteor run ios, the application on the phone tries to connect to a server running locally on your machine over the networked formed on the physical Lightning cable connection.
While you can configure the iOS client to connect to your machine over your local network, this solution introduces other problems you won't expect. Deploy your application to Galaxy, configure your iOS settings to use the URL on Galaxy, and make a production deployment of your iOS application. Then the iOS application will try to connect to an accessible public Internet URL (your Galaxy deployment), rather than your inaccessible local machine.
See the documentation for details.
meteor run ios-device --mobile-server=http://ip:port
worked for me

XCode simulator: how to make Internet work for apps?

I am developing a NativeScript app (i.e. a native app compiled from web languages) and deploying it to XCode (7.2) emulator.
NativeScript uses the Xcode command line tools internally.
I am working under OS X 10.11 (El Captain) and I tried to deploy my app to iPhone 5 and iPhone6 emulators.
The issue I'm getting is that my app can't reach REST APIs (get/post/....).
I'm deploying my APIs using json-server.
On Linux with json-server + run to Android emulator it works perfectly so I'm pretty sure it doesn't depend on json-server or my app code.
I tried an old solution posted at: iPhone simulator cannot connect to internet
Specifically, I've reset simulator settings as well as enabling 'HTTP services' in settings. The issue is still there. Any clue?
Check this out. I might have something to do with Apple's Application Transport Security jargon.

Apps for windows 8 tablet?

I'm developing an app for tablet picture capturing. I want to use the windows store app.
I don't want to publish it. Can I develop it without publishing it to the store?
Any other ideas for app dev?
Thanks
Yes you can develop a Windows Store app with publishing it but you will be the only one who can use it. If you want someone else to run your app they would have to use your code in VS on their machine to run it.

Resources