AR Weather App in Flutter using ARKIT — Lesson 1

Agnel Selvan
3 min readNov 12, 2022

--

In this lesson, we will import the required packages, configure the projects, and then import the models.

Here is the structured course of this project.

Importing the required Packages

  1. Go to pubspec.yaml file and add arkit_plugin: ^1.0.5 and http: ^0.13.4 package under dependencies.

2. Run flutter pub get command in your terminal.

Configuring for iOS

  1. Add this line in your Info.plist file, which will be under ios/Runner/Info.plist.
<key>NSCameraUsageDescription</key>
<string>Camera access required for AR</string>

2. Open Podfile and change the platform version from 9.0 to 11.0

3. Open a terminal and navigate to the ios directory from the current project and run pod install

No need to worry about warnings

Importing the models

  1. Open the Runner.xcworkspace file in XCode inside the ios directory.

2. Create a new folder models.scnassets inside the Runner folder.

3. Now import all the models. The models which are used are modeled using Blender.

You can check out the whole project on my GitHub.

Hurrah! and we are done with the Project Setup and Configuration.

Do you know you can press the clap👏 button 50 times? The higher you go, the more it motivates me to write more stuff for you guys!
Hello, I am Agnel Selvan. A noob developer. You can find me on Linkedin or stalk me on GitHub.

--

--

Agnel Selvan
Agnel Selvan

Written by Agnel Selvan

A person who is learning Flutter Development, Shaders, OpenGL, and Augmented Reality.

No responses yet