Closed abrarmusa closed 6 years ago
plz see the fix.
now getting this error
node_modules/react-native-sunmi-inner-printer/android/src/main/AndroidManifest.xml:2: Error: The
I can not see this error, would you plz try to figure out what is the issue?
发自我的 iPhone
在 2017年9月23日,下午12:17,Abrar Musa notifications@github.com 写道:
AndroidManifest.xml:2: Error: The element must be a direct child of the element [WrongManifestParent]
May be you can try to wrap the receiver tag to the application tag, that what I see could be the issue.
发自我的 iPhone
在 2017年9月23日,下午12:17,Abrar Musa notifications@github.com 写道:
now getting this error
node_modules/react-native-sunmi-inner-printer/android/src/main/AndroidManifest.xml:2: Error: The element must be a direct child of the element [WrongManifestParent] — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
@abrarmusa plz try the changes above. hmm, I cannot tested it cuz I cannot see your error on my build. So plz let me know whether it works.
Getting this error:
`node_modules/react-native-sunmi-inner-printer/android/src/main/java/com/sunmi/innerprinter/SunmiInnerPrinterModule.java:943: Error: This inner class should be static (com.sunmi.innerprinter.SunmiInnerPrinterModule.PrinterReceiver) [Instantiatable] public class PrinterReceiver extends BroadcastReceiver {