Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update wry to 0.28 (#6725)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
- Loading branch information
1 parent
cdad6e0
commit 31444ac
Showing
10 changed files
with
30 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'cli.rs': 'patch' | ||
'cli.js': 'patch' | ||
--- | ||
|
||
Update mobile template to `wry@0.28` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'tauri': 'patch' | ||
--- | ||
|
||
On Android, update proguard rules. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'tauri-runtime-wry': 'patch' | ||
--- | ||
|
||
Update `wry` to `0.28` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,6 @@ | ||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | ||
|
||
-keep class $PACKAGE.* { | ||
native <methods>; | ||
} | ||
|
||
-keepclassmembers class $PACKAGE.TauriActivity { | ||
getAppClass(...); | ||
getVersion(); | ||
} | ||
|
||
-keep class $PACKAGE.RustWebView { | ||
public <init>(...); | ||
loadUrlMainThread(...); | ||
} | ||
|
||
-keep class $PACKAGE.Ipc { | ||
public <init>(...); | ||
@android.webkit.JavascriptInterface public <methods>; | ||
-keep class $PACKAGE.TauriActivity { | ||
public app.tauri.plugin.PluginManager getPluginManager(); | ||
} | ||
|
||
-keep class $PACKAGE.RustWebChromeClient,$PACKAGE.RustWebViewClient { | ||
public <init>(...); | ||
} | ||
|
||
-keep class $PACKAGE.MainActivity { | ||
public getPluginManager(); | ||
} | ||
|
||
-keep class androidx.appcompat.app.AppCompatActivity { } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 1 addition & 5 deletions
6
tooling/cli/templates/mobile/android/app/src/main/MainActivity.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
package {{reverse-domain app.domain}}.{{snake-case app.name}} | ||
|
||
import app.tauri.plugin.PluginManager | ||
|
||
class MainActivity : TauriActivity() { | ||
var pluginManager: PluginManager = PluginManager(this) | ||
} | ||
class MainActivity : TauriActivity() |
6 changes: 4 additions & 2 deletions
6
tooling/cli/templates/mobile/android/app/src/main/generated/TauriActivity.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
package {{reverse-domain app.domain}}.{{snake-case app.name}} | ||
|
||
import androidx.appcompat.app.AppCompatActivity | ||
import app.tauri.plugin.PluginManager | ||
|
||
abstract class TauriActivity : AppCompatActivity() | ||
abstract class TauriActivity : WryActivity() { | ||
var pluginManager: PluginManager = PluginManager(this) | ||
} |