此处将为大家介绍关于iphone–如何在不在AppStore上提供应用程序的情况下发送促销代码进行beta测试?的详细内容,此外,我们还将为您介绍关于android–为beta测试提供应用程序、and
此处将为大家介绍关于iphone – 如何在不在App Store上提供应用程序的情况下发送促销代码进行beta测试?的详细内容,此外,我们还将为您介绍关于android – 为beta测试提供应用程序、android – 移动应用程序:如何在不离开我的应用程序的情况下显示我的应用程序在弹出窗口中发送的OTP?、asp.net – 如何在不重新启动应用程序的情况下清除网站的OutputCache、c# – 如何在不使用HttpContext.Current的情况下获取ASP.NET Web应用程序的物理位置?的有用信息。
本文目录一览:- iphone – 如何在不在App Store上提供应用程序的情况下发送促销代码进行beta测试?
- android – 为beta测试提供应用程序
- android – 移动应用程序:如何在不离开我的应用程序的情况下显示我的应用程序在弹出窗口中发送的OTP?
- asp.net – 如何在不重新启动应用程序的情况下清除网站的OutputCache
- c# – 如何在不使用HttpContext.Current的情况下获取ASP.NET Web应用程序的物理位置?
iphone – 如何在不在App Store上提供应用程序的情况下发送促销代码进行beta测试?
开发人员给我发了一个促销代码,我在iTunes中输入了促销代码字段.然后它在我的Mac上下载了应用程序,我可以将它同步到我的设备.当时该应用程序未在App Store中列出,但它绝对来自App Store.
我没有向他发送我的设备UDID或类似的东西,因此它不是Ad-Hoc的东西.
当应用程序处于“待开发人员发布”状态时,有没有办法发送这些促销代码?或者我必须批准该应用程序,然后在应用程序商店出现之前快速将其置于“非待售”状态吗?有什么诀窍?
问题关闭者:如果我告诉你多少,这就是编程相关的你不会相信我.因为没有这个问题的答案,构建优秀的应用程序会更加困难.有一种发送朋友促销代码来检查测试版的方法是非常方便的,并改善了开发过程.
解决方法
When can I request promo codes for my latest app version? You will be able to request promo codes when your app version is approved
and the status changes to Ready for Sale. At that time,you will be
able to use the Promo Codes button to request promo codes.Why don’t I see a Promo Codes button for my app? Only iTunes Connect users with the Legal role are able to access the Promo Codes
button and make requests for promo codes.If you are logged in to an iTunes connect account with the Legal role,and the Promo Codes button for your app is still not appearing,the app may not be approved. The Promo Codes button will only be displayed for approved apps with the status Ready for Sale.
android – 为beta测试提供应用程序
我即将部署我的应用程序进行beta测试.但是,我对安全交付beta测试设备的最佳方法感到困惑.
我理解通过电子邮件发送apk文件不是一个合理的举动.
做了一些研究后,我发现了以下内容.
> Deploy Gate-提供私人无线分配.
> Google Play Private Channel for Google Apps
-没有完全掌握它.
> Zubhium-新平台.有人曾尝试过这个吗?
有人可以通过适当的方法指导我吗?
解决方法:
beta测试的一点是,你总是冒着泄露apk的风险.实际上没有什么可以阻止这一点,因为任何拥有root设备的人都可以在安装后检索apk.
您应该考虑向apk添加定时试验等功能,并让它在某个日期之后停止工作,或者在服务器上的某个值发生更改后停止工作.
此外,beta测试是一个值得信赖的问题.如果你不相信你的beta测试者,不要给他们一个apk.
android – 移动应用程序:如何在不离开我的应用程序的情况下显示我的应用程序在弹出窗口中发送的OTP?
他们是怎么做到的?是否有一些我应该关注的iOS / Android规范,它允许我们类似地弹出OTP而无需用户必须转到SMS屏幕,然后回到我们的应用程序?谢谢!
编辑:我有非常有用的Android建议.现在正在寻找这些建议的iOS变体.了解iOS有更严格的沙盒限制,所以“听众”可能会更复杂?
解决方法
>在AndroidManifest中声明接收器
<receiver android:name=".IncomingSms"> <intent-filter> <action android:name="android.provider.Telephony.SMS_RECEIVED" /> </intent-filter> </receiver>
2在AndroidManifest中提供阅读短信权限
<uses-permission android:name="android.permission.RECEIVE_SMS"></uses-permission> <uses-permission android:name="android.permission.READ_SMS" />
AndroidManifest.xml文件的完整代码:
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.androidexample.broadcastreceiver" android:versionCode="1" android:versionName="1.0" > <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" > <activity android:name="com.androidexample.broadcastreceiver.broadcastNewSms" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <receiver android:name="com.androidexample.broadcastreceiver.IncomingSms"> <intent-filter> <action android:name="android.provider.Telephony.SMS_RECEIVED" /> </intent-filter> </receiver> </application> <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="17" /> <uses-permission android:name="android.permission.RECEIVE_SMS"></uses-permission> <uses-permission android:name="android.permission.READ_SMS" /> </manifest>
IncomingSms.java文件的完整代码:
public class IncomingSms extends broadcastReceiver { // Get the object of SmsManager final SmsManager sms = SmsManager.getDefault(); public void onReceive(Context context,Intent intent) { // Retrieves a map of extended data from the intent. final Bundle bundle = intent.getExtras(); try { if (bundle != null) { final Object[] pdusObj = (Object[]) bundle.get("pdus"); for (int i = 0; i < pdusObj.length; i++) { SmsMessage currentMessage = SmsMessage.createFromPdu((byte[]) pdusObj[i]); String phoneNumber = currentMessage.getdisplayOriginatingAddress(); String senderNum = phoneNumber; String message = currentMessage.getdisplayMessageBody(); Log.i("SmsReceiver","senderNum: "+ senderNum + "; message: " + message); // Show Alert int duration = Toast.LENGTH_LONG; Toast toast = Toast.makeText(context,"senderNum: "+ senderNum + ",message: " + message,duration); toast.show(); } // end for loop } // bundle is null } catch (Exception e) { Log.e("SmsReceiver","Exception smsReceiver" +e); } } }
在您的活动中注册广播接收器,您将获得输出
asp.net – 如何在不重新启动应用程序的情况下清除网站的OutputCache
我刚刚开始在网站上使用outputcache,当我设置错误时,我需要一个页面,我可以浏览,将重置它.
解决方法
Private Sub Button1_Click(ByVal sender As Object,ByVal e As System.EventArgs) Dim path As String path="/AbosoluteVirtualPath/OutputCached.aspx" HttpResponse.RemoveOutputCacheItem(path) End Sub
c# – 如何在不使用HttpContext.Current的情况下获取ASP.NET Web应用程序的物理位置?
string absolutePath = HttpContext.Current.Request.PhysicalApplicationPath;
因为HttpContext.Current在许多global.asax(应用程序,会话)事件中不可用.这是一个老消息,我们都知道它引起了臭名昭着的Request is not available in this context error.我们不想回到经典模式.
现在,问题很简单:不使用HttpContext,是否可以找到当前运行的Web应用程序实例的物理位置?
解决方法
今天关于iphone – 如何在不在App Store上提供应用程序的情况下发送促销代码进行beta测试?的分享就到这里,希望大家有所收获,若想了解更多关于android – 为beta测试提供应用程序、android – 移动应用程序:如何在不离开我的应用程序的情况下显示我的应用程序在弹出窗口中发送的OTP?、asp.net – 如何在不重新启动应用程序的情况下清除网站的OutputCache、c# – 如何在不使用HttpContext.Current的情况下获取ASP.NET Web应用程序的物理位置?等相关知识,可以在本站进行查询。
本文标签: