Skip to content

Commit db37723

Browse files
FarazFaraz
Faraz
authored and
Faraz
committed
Merge branch 'refs/heads/dev'
# Conflicts: # .flutter-plugins-dependencies # example/pubspec.lock
2 parents d5c4d2a + 7b854a5 commit db37723

39 files changed

+22171
-345
lines changed

.flutter-plugins

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# This is a generated file; do not edit or check into version control.
2-
webview_flutter=/Users/faraz/.pub-cache/hosted/pub.dev/webview_flutter-4.8.0/
3-
webview_flutter_android=/Users/faraz/.pub-cache/hosted/pub.dev/webview_flutter_android-3.16.8/
4-
webview_flutter_wkwebview=/Users/faraz/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.14.0/
2+
flutter_inappwebview=/Users/faraz/.pub-cache/hosted/pub.dev/flutter_inappwebview-6.1.5/
3+
flutter_inappwebview_android=/Users/faraz/.pub-cache/hosted/pub.dev/flutter_inappwebview_android-1.1.3/
4+
flutter_inappwebview_ios=/Users/faraz/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.1.2/
5+
flutter_inappwebview_macos=/Users/faraz/.pub-cache/hosted/pub.dev/flutter_inappwebview_macos-1.1.2/
6+
flutter_inappwebview_web=/Users/faraz/.pub-cache/hosted/pub.dev/flutter_inappwebview_web-1.1.2/
7+
flutter_inappwebview_windows=/Users/faraz/.pub-cache/hosted/pub.dev/flutter_inappwebview_windows-0.6.0/

.flutter-plugins-dependencies

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"webview_flutter_wkwebview","path":"/Users/faraz/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.14.0/","native_build":true,"dependencies":[]}],"android":[{"name":"webview_flutter_android","path":"/Users/faraz/.pub-cache/hosted/pub.dev/webview_flutter_android-3.16.8/","native_build":true,"dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"webview_flutter","dependencies":["webview_flutter_android","webview_flutter_wkwebview"]},{"name":"webview_flutter_android","dependencies":[]},{"name":"webview_flutter_wkwebview","dependencies":[]}],"date_created":"2025-01-02 02:22:50.796773","version":"3.22.3"}
1+
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_inappwebview_ios","path":"/Users/faraz/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.1.2/","native_build":true,"dependencies":[]}],"android":[{"name":"flutter_inappwebview_android","path":"/Users/faraz/.pub-cache/hosted/pub.dev/flutter_inappwebview_android-1.1.3/","native_build":true,"dependencies":[]}],"macos":[{"name":"flutter_inappwebview_macos","path":"/Users/faraz/.pub-cache/hosted/pub.dev/flutter_inappwebview_macos-1.1.2/","native_build":true,"dependencies":[]}],"linux":[],"windows":[{"name":"flutter_inappwebview_windows","path":"/Users/faraz/.pub-cache/hosted/pub.dev/flutter_inappwebview_windows-0.6.0/","native_build":true,"dependencies":[]}],"web":[{"name":"flutter_inappwebview_web","path":"/Users/faraz/.pub-cache/hosted/pub.dev/flutter_inappwebview_web-1.1.2/","dependencies":[]}]},"dependencyGraph":[{"name":"flutter_inappwebview","dependencies":["flutter_inappwebview_android","flutter_inappwebview_ios","flutter_inappwebview_macos","flutter_inappwebview_web","flutter_inappwebview_windows"]},{"name":"flutter_inappwebview_android","dependencies":[]},{"name":"flutter_inappwebview_ios","dependencies":[]},{"name":"flutter_inappwebview_macos","dependencies":[]},{"name":"flutter_inappwebview_web","dependencies":[]},{"name":"flutter_inappwebview_windows","dependencies":[]}],"date_created":"2025-01-08 19:22:57.405422","version":"3.27.1","swift_package_manager_enabled":false}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ migrate_working_dir/
2929
.packages
3030
build/
3131
/lib/src/core/modules/model_viewer/f3dc_scripts.js
32+
/lib/src/core/modules/model_viewer/f3dc_scripts_v2.js

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
## v2.1.0
2+
3+
### Features
4+
* Change 3D models by setState
5+
6+
### Improvements
7+
* Improve gesture interceptor
8+
* Improve performance
9+
* Update dependencies
10+
11+
### Fixes
12+
* Fix camera shake rare bug
13+
14+
115
## v2.0.3
216

317
### Fixes

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Notably, when testing **other available packages**, users may experience **gestu
1515
- Mobile and Web stable version (support **glb**, **gltf** and **obj** format)
1616
- Load 3D model from assets
1717
- Load 3D model from URL
18+
- Change 3D models by setState
1819
- Gesture interceptor (Prevents gesture recognizers from malfunctioning)
1920
- Controller model loading value listener
2021
- Model loading states callbacks, **onProgress**, **onLoad** and **onError**
@@ -176,7 +177,7 @@ Flutter3DViewer.obj(
176177

177178
```yaml
178179
dependencies:
179-
flutter_3d_controller: ^2.0.3
180+
flutter_3d_controller: ^2.1.0
180181
```
181182
182183
### `AndroidManifest.xml` (Android only)

android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ public final class GeneratedPluginRegistrant {
1616
private static final String TAG = "GeneratedPluginRegistrant";
1717
public static void registerWith(@NonNull FlutterEngine flutterEngine) {
1818
try {
19-
flutterEngine.getPlugins().add(new io.flutter.plugins.webviewflutter.WebViewFlutterPlugin());
19+
flutterEngine.getPlugins().add(new com.pichillilorenzo.flutter_inappwebview_android.InAppWebViewFlutterPlugin());
2020
} catch (Exception e) {
21-
Log.e(TAG, "Error registering plugin webview_flutter_android, io.flutter.plugins.webviewflutter.WebViewFlutterPlugin", e);
21+
Log.e(TAG, "Error registering plugin flutter_inappwebview_android, com.pichillilorenzo.flutter_inappwebview_android.InAppWebViewFlutterPlugin", e);
2222
}
2323
}
2424
}

android/local.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
sdk.dir=/Users/faraz/Library/Android/sdk
2-
flutter.sdk=/Users/faraz/flutter_sdk
2+
flutter.sdk=/Users/faraz/flutter_sdk_v3.27.1

example/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
*.swp
66
.DS_Store
77
.atom/
8+
.build/
89
.buildlog/
910
.history
1011
.svn/
12+
.swiftpm/
1113
migrate_working_dir/
1214

1315
# IntelliJ related

example/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
}
77

88
dependencies {
9-
classpath 'com.android.tools.build:gradle:7.3.0'
9+
classpath 'com.android.tools.build:gradle:8.1.0'
1010
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1111
}
1212
}

example/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip

example/assets/Football.mtl

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# 3ds Max Wavefront OBJ Exporter v0.97b - (c)2007 guruware
2+
# File Created: 09.04.2013 13:41:41
3+
4+
newmtl 02___Default
5+
Ns 25.0000
6+
Ni 1.5000
7+
d 1.0000
8+
Tr 0.0000
9+
Tf 1.0000 1.0000 1.0000
10+
illum 2
11+
Ka 0.9098 0.9098 0.9098
12+
Kd 0.9098 0.9098 0.9098
13+
Ks 0.1350 0.1350 0.1350
14+
Ke 0.0000 0.0000 0.0000
15+
16+
newmtl 01___Default
17+
Ns 25.0000
18+
Ni 1.5000
19+
d 1.0000
20+
Tr 0.0000
21+
Tf 1.0000 1.0000 1.0000
22+
illum 2
23+
Ka 0.0000 0.0000 0.0000
24+
Kd 0.0000 0.0000 0.0000
25+
Ks 0.1350 0.1350 0.1350
26+
Ke 0.0000 0.0000 0.0000

0 commit comments

Comments
 (0)