How to add deeplink support in your application?

I will wait for updates on your website, because some of my friends also want to use your aix, thank you very much for your hard work creating aix deeplink, it is very usefull

Done :+1:
deep-link.000webhostapp.com

1 Like

thanks for updating your website @vknow360

but unfortunately, the app crash when open a deeplink, I just download aix from your web with this settings
image

and kodular with this simple block

image

the app keep crashing, can you help me to solve this problem? or there is a bug ?

Can you post the apk here?

I think you actually can build this simple app in kodular in just 3 minutes @vknow360 , but here is the apk, test123.apk (5.2 MB)

There is something strange.
Apk package name:

Logcat:

E/AndroidRuntime(12646): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.sunny/com.sunny.Screen1}: java.lang.ClassNotFoundException: Didn't find class "com.sunny.Screen1" on path: DexPathList[[zip file "/data/app/com.sunny-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]

E/AndroidRuntime(12646): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2236)

E/AndroidRuntime(12646): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)

E/AndroidRuntime(12646): 	at android.app.ActivityThread.access$800(ActivityThread.java:151)

E/AndroidRuntime(12646): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)

E/AndroidRuntime(12646): 	at android.os.Handler.dispatchMessage(Handler.java:102)

E/AndroidRuntime(12646): 	at android.os.Looper.loop(Looper.java:135)

E/AndroidRuntime(12646): 	at android.app.ActivityThread.main(ActivityThread.java:5254)

E/AndroidRuntime(12646): 	at java.lang.reflect.Method.invoke(Native Method)

E/AndroidRuntime(12646): 	at java.lang.reflect.Method.invoke(Method.java:372)

E/AndroidRuntime(12646): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)

E/AndroidRuntime(12646): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)

E/AndroidRuntime(12646): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.sunny.Screen1" on path: DexPathList[[zip file "/data/app/com.sunny-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]

E/AndroidRuntime(12646): 	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)

E/AndroidRuntime(12646): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:511)

E/AndroidRuntime(12646): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:469)

E/AndroidRuntime(12646): 	at android.app.Instrumentation.newActivity(Instrumentation.java:1066)

E/AndroidRuntime(12646): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2226)

E/AndroidRuntime(12646): 	... 10 more

E/AndroidRuntime(12646): 	Suppressed: java.lang.ClassNotFoundException: com.sunny.Screen1

E/AndroidRuntime(12646): 		at java.lang.Class.classForName(Native Method)

E/AndroidRuntime(12646): 		at java.lang.BootClassLoader.findClass(ClassLoader.java:781)

E/AndroidRuntime(12646): 		at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)

E/AndroidRuntime(12646): 		at java.lang.ClassLoader.loadClass(ClassLoader.java:504)

E/AndroidRuntime(12646): 		... 13 more

E/AndroidRuntime(12646): 	Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available

W/ActivityManager(  516):   Force finishing activity 1 com.sunny/.Screen1

Activity attributes declared in extension:

{"contentProviders":[],"metadata":[],"broadcastReceivers":[],"broadcastReceiver":[],"libraries":[],"services":[],"type":"com.sunny.DeepLink.DeepLink","androidMinSdk":["7"],"activityMetadata":[],"assets":[],"native":[],"permissions":[],"activities":["<activity android:name=\"com.sunny.Screen1\" android:launchMode=\"singleTask\">\n      <intent-filter >\n        <action android:name=\"android.intent.action.VIEW\"/>\n        <category android:name=\"android.intent.category.DEFAULT\"/>\n        <category android:name=\"android.intent.category.BROWSABLE\"/>\n        <data android:scheme=\"http\" android:host=\"www.example.com\"/>\n    <\/intent-filter>\n    <\/activity>\n"]}

Activities declared in app:

I am able to launch app with second activity but not with first.

P.S. same aix is working in ai2.

We still can’t use your site why it might not be published in Turkey

thank you

Maybe an issue of 000webhost.
You can always use a VPN.

1 Like

I will ask for a bidet, for example I have an application called https: // myapps and the link starts like this Can all links be opened to my application?
Even if I do not add, for example, is this link opened? For example, it may be different or how can I duplicate them without updating

https: // myapps/34523 for example

Let’s say I didn’t add it, how can I do it without updating so that I can add it in the future?

thank you

Yes.
Only host and scheme needs to be same, queries don’t affect it.

so how do I fill in the places on your website
in this way
I managed to enter your site with vpn

See this for example:

But it seems v3 is not compatible with Kodular

Is the extension not compatible with kodulars

It seems.
:thinking:

I tried it and the application still crashes using kodular

if you have solved the problem @vknow360 , please let us know through the group, because this aix is ​​very useful

thank you

It is not possible to use v3 in Kodular with custom package name.

ok thanks, maybe kodular developer can help about implementation in this aix

I really hope

It will be nice, if they reply.

Kodular is unable to compile this project.
The compiler error output was
________Preparing application icon
________Creating animation xml
________Creating fragment xml
________Creating listview xml in res/layout/…
________Creating listview xml in res/layout-v21/…
________Creating xml in res/drawable/…
________Creating splash png in res/drawable/…
________Creating colors xml
________Creating styles xml
________Creating drawables xml v21
________Checking for firebase
________________Firebase components found.
________________Firebase config file successfully added.
________Creating provider_path xml
________Creating network_security_config xml
________Generating adaptive icon file
________Generating round adaptive icon file
________Generating adaptive icon background file
________Generating manifest file
________Attaching native libraries
________Attaching Android Archive (AAR) libraries
________Attaching component assets
________Invoking AAPT
AAPT time: 0.958 seconds
________Compiling source files
(compiling io/kodular/jydeveopers/deeplink/Screen1.yail to io.kodular.jydeveopers.deeplink.Screen1)

ERROR: io/kodular/jydeveopers/deeplink/Screen1.yail line 117: caught exception in inliner for # - java.lang.RuntimeException: no such class: com.sunny.DeepLink.DeepLink

gnu.bytecode.ObjectType.getReflectClass(ObjectType.java:179)
gnu.bytecode.ClassType.getModifiers(ClassType.java:103)
gnu.bytecode.ClassType.isInterface(ClassType.java:471)
gnu.expr.InlineCalls.checkType(InlineCalls.java:56)
gnu.expr.InlineCalls.visit(InlineCalls.java:49)
gnu.expr.InlineCalls.visitSetExpValue(InlineCalls.java:363)
gnu.expr.InlineCalls.visitSetExpValue(InlineCalls.java:28)
gnu.expr.ExpVisitor.visitSetExp(ExpVisitor.java:114)
gnu.expr.InlineCalls.visitSetExp(InlineCalls.java:369)
gnu.expr.InlineCalls.visitSetExp(InlineCalls.java:28)
gnu.expr.SetExp.visit(SetExp.java:406)
gnu.expr.ExpVisitor.visit(ExpVisitor.java:55)
gnu.expr.InlineCalls.visit(InlineCalls.java:46)
gnu.expr.InlineCalls.visitBeginExp(InlineCalls.java:272)
gnu.expr.InlineCalls.visitBeginExp(InlineCalls.java:28)
gnu.expr.BeginExp.visit(BeginExp.java:156)
gnu.expr.ExpVisitor.visit(ExpVisitor.java:51)
gnu.expr.InlineCalls.visit(InlineCalls.java:46)
gnu.expr.InlineCalls.visit(InlineCalls.java:28)
gnu.expr.ExpVisitor.visitAndUpdate(ExpVisitor.java:161)
gnu.expr.ExpVisitor.visitExps(ExpVisitor.java:175)
gnu.expr.ApplyExp.visitArgs(ApplyExp.java:415)
gnu.kawa.functions.CompileMisc.validateApplyAppendValues(CompileMisc.java:139)
sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
gnu.expr.InlineCalls.maybeInline(InlineCalls.java:467)
gnu.expr.QuoteExp.validateApply(QuoteExp.java:150)
gnu.expr.InlineCalls.visitApplyExp(InlineCalls.java:119)
gnu.expr.InlineCalls.visitApplyExp(InlineCalls.java:28)
gnu.expr.ApplyExp.visit(ApplyExp.java:410)
gnu.expr.ExpVisitor.visit(ExpVisitor.java:55)
gnu.expr.InlineCalls.visit(InlineCalls.java:46)
gnu.expr.InlineCalls.visit(InlineCalls.java:28)
gnu.expr.LambdaExp.visitChildrenOnly(LambdaExp.java:1664)
gnu.expr.LambdaExp.visitChildren(LambdaExp.java:1651)
gnu.expr.InlineCalls.visitScopeExp(InlineCalls.java:279)
gnu.expr.InlineCalls.visitLambdaExp(InlineCalls.java:349)
gnu.expr.InlineCalls.visitLambdaExp(InlineCalls.java:28)
gnu.expr.ExpVisitor.visitModuleExp(ExpVisitor.java:103)
gnu.expr.ModuleExp.visit(ModuleExp.java:482)
gnu.expr.ExpVisitor.visit(ExpVisitor.java:51)
gnu.expr.InlineCalls.visit(InlineCalls.java:46)
gnu.expr.InlineCalls.inlineCalls(InlineCalls.java:33)
gnu.expr.Compilation.walkModule(Compilation.java:994)
gnu.expr.Compilation.process(Compilation.java:1965)
gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:330)
gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:315)
gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:315)
gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:315)
kawa.repl.compileFiles(repl.java:783)
kawa.repl.processArgs(repl.java:412)
kawa.repl.main(repl.java:827)
Kawa compile time: 1.275 seconds
.
i am getting this error

Reimport extension.