Onesignal build issue in beta version

Hello Niotron Team,
I wanted to inform you about an error in the Onesignal Component in Niotron Beta. When I am trying to build an app with one signal component, the build fails. But when I remove it, it builds normally.

Niotron is unable to compile this project.
The compiler error output was
[ReadBuildInfo] Starting Task
[ReadBuildInfo] Task succeeded in 0.006 seconds
[LoadComponentInfo] Starting Task
[LoadComponentInfo] INFO: Generating assets...
[LoadComponentInfo] Component assets needed, n = 5
[LoadComponentInfo] INFO: Generating activities...
[LoadComponentInfo] Component activities needed, n = 4
[LoadComponentInfo] INFO: Component "com.dreamers.recyclerlist.RecyclerList" does not specify activityMetadata
[LoadComponentInfo] INFO: Component "in.akshatt.AdmobAkshat.AdmobAkshat" does not specify activityMetadata
[LoadComponentInfo] Component activity metadata needed, n = 0
[LoadComponentInfo] INFO: Generating broadcast receivers...
[LoadComponentInfo] INFO: Component "com.dreamers.recyclerlist.RecyclerList" does not specify broadcastReceivers
[LoadComponentInfo] INFO: Component "in.akshatt.AdmobAkshat.AdmobAkshat" does not specify broadcastReceivers
[LoadComponentInfo] INFO: Component "com.dreamers.recyclerlist.RecyclerList" does not specify services
[LoadComponentInfo] INFO: Component "in.akshatt.AdmobAkshat.AdmobAkshat" does not specify services
[LoadComponentInfo] Component content providers needed, n = 0
[LoadComponentInfo] INFO: Generating libraries...
[LoadComponentInfo] INFO: Component "com.dreamers.recyclerlist.RecyclerList" does not specify libraries
[LoadComponentInfo] INFO: Component "in.akshatt.AdmobAkshat.AdmobAkshat" does not specify libraries
[LoadComponentInfo] Libraries needed, n = 71
[LoadComponentInfo] INFO: Component "com.dreamers.recyclerlist.RecyclerList" does not specify metadata
[LoadComponentInfo] INFO: Component "in.akshatt.AdmobAkshat.AdmobAkshat" does not specify metadata
[LoadComponentInfo] Component metadata needed, n = 0
[LoadComponentInfo] INFO: Generating Android minimum SDK...
[LoadComponentInfo] INFO: Generating native libraries...
[LoadComponentInfo] INFO: Component "com.dreamers.recyclerlist.RecyclerList" does not specify native
[LoadComponentInfo] INFO: Component "in.akshatt.AdmobAkshat.AdmobAkshat" does not specify native
[LoadComponentInfo] Native Libraries needed, n = 0
[LoadComponentInfo] INFO: Generating permissions...
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.ActivityStarter" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Form" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.HorizontalArrangement" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Label" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.NiotronCardView" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.NiotronDeviceInfo" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.NiotronLinearProgressBar" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.NiotronNetworkTools" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.NiotronOneSignalPush" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Notifier" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Sidebar" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.Spacer" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.google.appinventor.components.runtime.VerticalArrangement" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.oseamiya.baserow.Baserow" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "com.dreamers.recyclerlist.RecyclerList" does not specify permissionConstraints
[LoadComponentInfo] INFO: Component "in.akshatt.AdmobAkshat.AdmobAkshat" does not specify permissionConstraints
[LoadComponentInfo] usesLocation = False
[LoadComponentInfo] Permissions needed, n = 34
[LoadComponentInfo] INFO: Component "com.oseamiya.baserow.Baserow" does not specify queries
[LoadComponentInfo] INFO: Component "com.dreamers.recyclerlist.RecyclerList" does not specify queries
[LoadComponentInfo] INFO: Component "in.akshatt.AdmobAkshat.AdmobAkshat" does not specify queries
[LoadComponentInfo] INFO: Component "com.dreamers.recyclerlist.RecyclerList" does not specify services
[LoadComponentInfo] INFO: Component "in.akshatt.AdmobAkshat.AdmobAkshat" does not specify services
[LoadComponentInfo] Component services needed, n = 0
[LoadComponentInfo] INFO: Generating component broadcast receivers...
[LoadComponentInfo] INFO: Component "com.dreamers.recyclerlist.RecyclerList" does not specify broadcastReceiver
[LoadComponentInfo] INFO: Component "in.akshatt.AdmobAkshat.AdmobAkshat" does not specify broadcastReceiver
[LoadComponentInfo] Task succeeded in 0.005 seconds
[CheckPremium] Starting Task
[CheckPremium] INFO: Checking User Premium...
[CheckPremium] INFO: Getting User Monetization Status...
[CheckPremium] Task succeeded in 3.145 seconds
[CheckCoreComponents] Starting Task
[CheckCoreComponents] INFO: Checking Core Components...
[CheckCoreComponents] Task succeeded in 0.0 seconds
[CheckRequiredAssets] Starting Task
[CheckRequiredAssets] Task succeeded in 0.0 seconds
[PrepareAppIcon] Starting Task
[PrepareAppIcon] INFO: Creating mipmap dirs...
[PrepareAppIcon] INFO: Generating icons...
[PrepareAppIcon] Generating icons for mipmap-mdpi
[PrepareAppIcon] Generating icons for mipmap-hdpi
[PrepareAppIcon] Generating icons for mipmap-xhdpi
[PrepareAppIcon] Generating icons for mipmap-xxhdpi
[PrepareAppIcon] Generating icons for mipmap-xxxhdpi
[PrepareAppIcon] Task succeeded in 0.818 seconds
[CreateIconSplash] Starting Task
[CreateIconSplash] INFO: Generating splash icon...
[CreateIconSplash] Task succeeded in 0.0 seconds
[XmlConfig] Starting Task
[XmlConfig] INFO: Creating animation xml
[XmlConfig] Creating zoom_enter.xml
[XmlConfig] Creating fadeout.xml
[XmlConfig] Creating slide_v_exit.xml
[XmlConfig] Creating fadein.xml
[XmlConfig] Creating zoom_exit.xml
[XmlConfig] Creating slide_v_enter.xml
[XmlConfig] Creating zoom_exit_reverse.xml
[XmlConfig] Creating slide_v_enter_reverse.xml
[XmlConfig] Creating zoom_enter_reverse.xml
[XmlConfig] Creating slide_enter_reverse.xml
[XmlConfig] Creating slide_exit.xml
[XmlConfig] Creating hold.xml
[XmlConfig] Creating slide_enter.xml
[XmlConfig] Creating slide_v_exit_reverse.xml
[XmlConfig] Creating slide_exit_reverse.xml
[XmlConfig] INFO: Creating style xml
[XmlConfig] INFO: Creating provider_path xml
[XmlConfig] INFO: Creating network_security_config xml
[XmlConfig] INFO: Generating adaptive icon file
[XmlConfig] INFO: Generating round adaptive icon file
[XmlConfig] INFO: Generating adaptive icon background file
[XmlConfig] Task succeeded in 0.002 seconds
[CreateManifest] Starting Task
[CreateManifest] INFO: Reading project specs...
[CreateManifest] VCode: 8
[CreateManifest] VName: 2.0.0
[CreateManifest] Min SDK 21
[CreateManifest] INFO: Writing screen 'com.niotron.tech_akshat06.MYAPPNAME.Screen1'
[CreateManifest] Task succeeded in 0.001 seconds
[CreateConditionalXmls] Starting Task
[CreateConditionalXmls] Task succeeded in 0.0 seconds
[AttachMediationAdapterLibraries] Starting Task
[AttachMediationAdapterLibraries] Task succeeded in 0.001 seconds
[AttachNativeLibs] Starting Task
[AttachNativeLibs] Task succeeded in 0.001 seconds
[AttachAarLibs] Starting Task
[AttachAarLibs] Task succeeded in 0.218 seconds
[AttachCompAssets] Starting Task
[AttachCompAssets] Task succeeded in 0.003 seconds
[MergeManifests] Starting Task
[MergeManifests] ERROR: Could not execute manifest merger step
[MergeManifests] Task errored in 0.764 seconds

Please look into this.

1 Like

@Akshat Thanks for reporting the bug, this bug is already reported and will be resolved soon

1 Like

@Akshat Please share a demo aia which is having the same error so that we can resolve this

I have tried creating a new project. The app is built there but not with my main project. Seems like its not compatible with either any of the extensions or components used.

@Akshat I have tested the OneSignal component and i was able to receive the notifications now. Please share your blocks setup.